Fixed terms layout: support i18n url

This commit is contained in:
Memory Clutter 2022-11-05 17:45:26 +03:00
parent 4b2c4a2677
commit c39379d105

View file

@ -5,7 +5,7 @@
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms.ByCount }}
<div class="mb-5 flex justify-between">
<a class="self-start" href="/{{ $data.Plural }}/{{ $value.Name }}">
<a class="self-start" href="{{ $data.Plural | absLangURL }}/{{ $value.Name }}">
{{ $value.Name }}
</a>
<span class="">{{ $value.Count }}</span>