bglug.it/layouts/partials/sidebar/linuxday-editions.html
paspo 57f4654a2b
Some checks failed
Linting markdown on PR / unicode-check (pull_request) Failing after 1m40s
linuxday per anno
2024-09-24 23:25:28 +02:00

21 lines
486 B
HTML

{{ $hiddenTags := slice "linuxday-featured" }}
{{ $years := where .Site.Taxonomies.grouping ".Page.Section" .Section }}
{{- if gt (len $years) 0 }}
<section>
<h3>{{ T "editions" }}</h3>
<ul class="links">
{{ range $years.Alphabetical.Reverse }}
{{ if not (in $hiddenTags .Name ) }}
<li>
<a href="/{{ .Page.Lang }}{{ .Page.Path }}">
{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})
</a>
</li>
{{ end }}
{{ end }}
</ul>
</section>
{{ end }}