add trailing slash in tags link

This commit is contained in:
2025-05-29 11:11:15 -04:00
parent d87c83c072
commit a27278651e

View File

@ -9,13 +9,13 @@
{{ if .Params.tags }}
{{range .Params.tags}}
<a class="btn" href="/tags/{{ . | urlize }}" role="button">{{ . }}</a>
<a class="btn" href="/tags/{{ . | urlize }}/" role="button">{{ . }}</a>
{{end}}
{{end}}
{{ if .Params.categories }}
{{range .Params.categories}}
<a class="btn" href="/categories/{{ . | urlize }}" role="button">{{ . }}</a>
<a class="btn" href="/categories/{{ . | urlize }}/" role="button">{{ . }}</a>
{{end}}
{{end}}
{{- if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}