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
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@
|
|||
{{ 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 }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue