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: [PATCH] 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/_default/list.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/nav.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8b8c14b..90cbee5 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{ if .Data.Singular }}

Filtering for "{{ .Title }}"

- Remove filter + Remove filter {{ end }}