fix non-default language tag links

This commit is contained in:
Eorn 2020-12-10 16:16:16 +01:00
parent 8fdf270268
commit bd9afb7fe7

View file

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