Fixed terms layout: support i18n url
This commit is contained in:
parent
4b2c4a2677
commit
c39379d105
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
{{ $data := .Data }}
|
{{ $data := .Data }}
|
||||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||||
<div class="mb-5 flex justify-between">
|
<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 }}
|
{{ $value.Name }}
|
||||||
</a>
|
</a>
|
||||||
<span class="">{{ $value.Count }}</span>
|
<span class="">{{ $value.Count }}</span>
|
||||||
|
|
Loading…
Reference in a new issue