From 2fe68caed9abacd22a89c2a6795df5a62f28950c Mon Sep 17 00:00:00 2001 From: YumiLee Date: Fri, 13 Oct 2023 15:42:26 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20the=20missing=20"/"=20of?= =?UTF-8?q?=20the=20directory=20and=20tag=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missing "/" will lead to an extra 301 and not friendly to search engines. Signed-off-by: YumiLee --- layouts/_default/terms.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 85ff661..64e6d49 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -42,7 +42,7 @@ {{ if not (in $allSecondaryCats $primaryCategory) }}
  • - + {{ $primaryCategory }} {{ $primaryCount }} @@ -57,7 +57,7 @@ {{ end }} {{ end }}
  • - + {{ . }} {{ $secondaryCount }} @@ -77,7 +77,7 @@
    {{ $randNums := (seq 10) }} {{- range $name, $items := $tags }} - {{ .Page.Title }} + {{ .Page.Title }} ({{ len $items }})