minor changes
All checks were successful
website-main / prod-build (push) Successful in 14s
website-main / test-build (push) Successful in 9s

This commit is contained in:
2024-03-24 16:23:54 +01:00
parent 4faf51a079
commit d2ab31fa7a
7 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
{{ if eq $.Data.Plural "tags" }}
<a href="{{ `tags/` | relURL }}{{ $name | urlize | lower }}">{{ $name }}</a>
{{ else if eq $.Data.Plural "categories" }}
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ if (index $transliterations $name) }}{{ index $transliterations $name }}{{ else }}{{ $name | title }}{{end}}</a>
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ with (index $transliterations $name) }}{{ . }}{{ else }}{{ $name | title }}{{end}}</a>
{{ end }}
{{ end }}
</div>