Merge pull request #244 from franciscoyira/master
Fix tags links in multilingual
This commit is contained in:
commit
4988517bcd
3 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@
|
|||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absURL }}/">#{{ . }}</a>
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absLangURL }}/">#{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absURL }}/">#{{ . }}</a>
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absLangURL }}/">#{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absURL }}/">#{{ . }}</a>
|
||||
<a href="{{ (urlize (printf "tags/%s" . )) | absLangURL }}/">#{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue