tags: fix non-latin tag display on pages #378

This commit is contained in:
Sören Weber 2022-11-10 10:05:27 +01:00
parent 6ef984c36a
commit 0b6f55f247
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -4,7 +4,7 @@
<div class="tags">
{{- range sort .Params.tags }}
{{- $tag := . }}
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) ( $tag | urlize ) ) }}
{{- with $page.Site.GetPage (printf "%s%s" ("/tags/" | relURL ) $tag ) }}
{{- $to := . }}
<a class="tag-link" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "page" $page "to" $to) }}">{{ $tag }}</a>
{{- end }}