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,9 +13,9 @@
|
|||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<ul class="article-tags">
|
<ul class="article-tags">
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<li><a href="{{ "tags/" | absURL }}{{ . }}">#{{ . }}</a></li>
|
<li><a href="{{ "tags/" | absURL }}{{ . | urlize}}">#{{ . }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user