You've already forked no-js-hugo-theme
add trailing slash in tags link
This commit is contained in:
@ -9,13 +9,13 @@
|
|||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
│
|
│
|
||||||
{{range .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}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{ if .Params.categories }}
|
{{ if .Params.categories }}
|
||||||
│
|
│
|
||||||
{{range .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}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{- if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}
|
{{- if (and (eq .Lastmod.IsZero false) (ne .Lastmod .Date)) }}
|
||||||
|
Reference in New Issue
Block a user