From 5fb7b332564c19f95e93cf675a9fd1e4a66a9fbd Mon Sep 17 00:00:00 2001 From: Jan Raasch <425211+janraasch@users.noreply.github.com> Date: Wed, 15 Mar 2023 13:01:49 +0100 Subject: fix: remove trailing slashes Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65 --- layouts/partials/nav.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/nav.html') diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index def9b6e..f4fabed 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,7 @@ -Home +Home {{ range .Site.Menus.main }} {{ .Name }} {{ end }} {{ with .Site.GetPage "/blog" }} -Blog +Blog {{ end }} -- cgit v1.2.3