aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/header.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 44bb678..354ef99 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
{{ with .Site.Params.footer }}
<hr>
<div class="container text-center mb-2">
- <a href="{{ .url | relURL }}"><small>{{ .text }}</small></a>
+ <a href="{{ .url | absURL }}"><small>{{ .text }}</small></a>
</div>
{{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 2b5566e..cfeff03 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,6 +13,6 @@
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ with .Site.Params.favicon }}
- <link rel="icon" type="image/ico" href="{{ . | relURL }}">
+ <link rel="icon" type="image/ico" href="{{ . | absURL }}">
{{ end }}
</head>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 61fe360..6eed1d6 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -5,7 +5,7 @@
{{ with .Site.Menus.main }}
{{ $navbar_len := len . }}
{{ range $i, $nav_item := . }}
- <a class="nav-item nav-link" href="{{ $nav_item.URL | relURL }}">{{ $nav_item.Name }}</a>
+ <a class="nav-item nav-link" href="{{ $nav_item.URL | absURL }}">{{ $nav_item.Name }}</a>
{{ if ne (add $i 1) $navbar_len }}
<span class="nav-item navbar-text mx-1">/</span>
{{ end }}