2023-10-31 20:55:16 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
<section class="section" data-pagefind-body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="tag-list">
|
|
|
|
{{ $transliterations := site.Data.transliterations.transliterations }}
|
|
|
|
{{ range $name, $items := .Data.Terms }}
|
|
|
|
{{ if eq $.Data.Plural "tags" }}
|
|
|
|
<a href="{{ `tags/` | relURL }}{{ $name | urlize | lower }}">{{ $name }}</a>
|
|
|
|
{{ else if eq $.Data.Plural "categories" }}
|
2024-03-24 16:23:54 +01:00
|
|
|
<a href="{{ `categories/` | relURL }}{{ $name | urlize | lower }}">{{ with (index $transliterations $name) }}{{ . }}{{ else }}{{ $name | title }}{{end}}</a>
|
2023-10-31 20:55:16 +01:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ end }}
|