forked from Fediversity/fediversity.eu
Valentin Gagarin
72f70ec475
git-subtree-dir: website git-subtree-mainline: 83b1c9ac3b58871df715c5993a29d658439fc772 git-subtree-split: d208ee83f80467e25c662b4680ed2d6161d88d9e
33 lines
1 KiB
HTML
Executable file
33 lines
1 KiB
HTML
Executable file
{{ 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 }}
|