bglug.it/layouts/partials/sidebar/linuxday-editions.html
paspo 868b5a44b6
Some checks failed
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 21s
Container Publish / build-image (push) Successful in 5m56s
via conteggio post da sidebar (#262)
Reviewed-on: #262
Reviewed-by: omar <omarl@noreply.libreschool.org>
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-09-26 04:49:47 +00:00

21 lines
467 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 }}
</a>
</li>
{{ end }}
{{ end }}
</ul>
</section>
{{ end }}