Merge pull request #23 from sams96/tag-link-fix

Fixed broken link on tags with spaces
This commit is contained in:
Dmitry Kolosov 2020-04-01 14:14:00 +03:00 committed by GitHub
commit 43d588d7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}