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:
@@ -63,7 +63,7 @@ HERE INSERT ANY CUSTOM <script/> or <style/>
|
||||
{{ 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