aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorOlivier Roques <oroques@fastmail.com>2020-08-08 11:53:57 +0200
committerOlivier Roques <oroques@fastmail.com>2020-08-08 11:53:57 +0200
commit2bf20987451afc5cb02faa1a5ade503dd708ba3d (patch)
tree557448ee36ece3566841d30f7b8fd0c26ccf626f /layouts/partials
parentc8850f73d569319a913e25c9d0279a8f3331f01d (diff)
Add resources folder
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 }}