This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity.eu/layouts/_default/terms.html

33 lines
1 KiB
HTML
Raw Normal View History

2024-03-27 12:24:18 +01:00
{{ define "main" }} {{ partial "page-header" . }}
<section class="section">
<div class="container">
<ul class="text-center">
{{/* categories */}} {{ if eq .Permalink (`categories/` | absLangURL) }}
{{ range site.Taxonomies.categories.ByCount }}
<li class="m-3 inline-block">
<a
href="{{ .Page.Permalink }}"
class="bg-theme-light text-dark block rounded px-4 py-2 text-xl"
>
{{ .Page.Title }}
<span class="bg-body ml-2 rounded px-2"> {{ .Count }} </span>
</a>
</li>
{{ end }} {{ end }} {{/* tags */}} {{ if eq .Permalink (`tags/` |
absLangURL) }} {{ range site.Taxonomies.tags.ByCount }}
<li class="m-3 inline-block">
<a
href="{{ .Page.Permalink }}"
class="bg-theme-light text-dark block rounded px-4 py-2 text-xl"
>
{{ .Page.Title }}
<span class="bg-body ml-2 rounded px-2"> {{ .Count }} </span>
</a>
</li>
{{ end }} {{ end }}
</ul>
</div>
</section>
{{ end }}