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 }}
|
||||
{{ 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>
|
||||
|
|
Loading…
Reference in a new issue