fix non-default language tag links
This commit is contained in:
parent
8fdf270268
commit
bd9afb7fe7
|
@ -1,9 +1,9 @@
|
||||||
{{ range first 1 . }}
|
{{ range first 1 . }}
|
||||||
<span class="tag"><a href="{{ "/tags/" | relURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
<span class="tag"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if gt (len .) 1 }}
|
{{ if gt (len .) 1 }}
|
||||||
{{ range after 1 . }}
|
{{ range after 1 . }}
|
||||||
| <span class="tag"><a href="{{ "/tags/" | relURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
| <span class="tag"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a></span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue