Add a trailing slash to URLs generated for tags
This commit is contained in:
parent
b746766d0e
commit
d4f8fea87c
@ -17,7 +17,7 @@
|
||||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
#<a href="{{ (urlize (printf "tags/%s" . )) | absURL }}">{{ . }}</a>
|
||||
#<a href="{{ (urlize (printf "tags/%s/" . )) | absURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
@ -11,7 +11,7 @@
|
||||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
#<a href="{{ (urlize (printf "tags/%s" .)) | absURL }}">{{ . }}</a>
|
||||
#<a href="{{ (urlize (printf "tags/%s/" .)) | absURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user