From 9c09564590d58e4d442a16468a5e6bd0bbcc131e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 11 Dec 2020 00:18:08 +0530 Subject: [PATCH] header: fix trailing slash '/' in menu URL closes #122 --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 6579922d..78949828 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -112,7 +112,7 @@ {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} {{- $page_url:= $currentPage.Permalink | absLangURL }}
  • - + {{ .Name }}