1
0
forked from BgLUG/bglug.it
bglug.it/layouts/partials/sidebar/linuxday-editions.html

21 lines
467 B
HTML
Raw Normal View History

{{ $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 }}