Browse Source

fix non-default language tag links

master
Eorn 11 months ago
parent
commit
bd9afb7fe7
  1. 4
      layouts/partials/tags.html

4
layouts/partials/tags.html

@ -1,9 +1,9 @@
{{ range first 1 . }}
<span class="tag"><a href="{{ "/tags/" | relURL }}{{ . | urlize }}/">#{{ . }}</a></span>
<span class="tag"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">#{{ . }}</a></span>
{{ end }}
{{ if gt (len .) 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 }}

Loading…
Cancel
Save