Fixed broken link on tags with spaces
Clicking the link to tag with a space would 404, this adds a hyphen which links to the correct page.
This commit is contained in:
parent
7273a5884c
commit
ce1b32b427
@ -13,7 +13,7 @@
|
||||
{{ if .Params.tags }}
|
||||
<ul class="article-tags">
|
||||
{{ range .Params.tags }}
|
||||
<li><a href="{{ "tags/" | absURL }}{{ . }}">#{{ . }}</a></li>
|
||||
<li><a href="{{ "tags/" | absURL }}{{ . | urlize}}">#{{ . }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user