fix: tags url regression with backslash
Fix a regression with the case `1\2` in the previous commit. Trailing slash is required, so `1%5C2` is not converted to `1/2`.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
#<a href="{{ (urls.JoinPath "tags" (urlize .)) | absLangURL }}">{{ . }}</a>
|
||||
#<a href="{{ (urls.JoinPath "tags" (urlize .) "/") | absLangURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user