aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
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/header.html
parentc8850f73d569319a913e25c9d0279a8f3331f01d (diff)
Add resources folder
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
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 }}