aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorOlivier Roques <oroques@fastmail.com>2020-09-04 19:17:05 +0200
committerOlivier Roques <oroques@fastmail.com>2020-09-04 19:17:05 +0200
commitae69b114acf36e7834ff9570ec67df44559251ee (patch)
tree30207ad05a9996e15aeb97642dac83a1d466fcf0 /layouts/partials
parent8d5d509aee80f7be0beac8ec0afaa6208cbca412 (diff)
Remove absURL from menu items
Diffstat (limited to 'layouts/partials')
-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 6eed1d6..7fcd975 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 | absURL }}">{{ $nav_item.Name }}</a>
+ <a class="nav-item nav-link" href="{{ $nav_item.URL }}">{{ $nav_item.Name }}</a>
{{ if ne (add $i 1) $navbar_len }}
<span class="nav-item navbar-text mx-1">/</span>
{{ end }}