forked from BgLUG/bglug.it
fixes #255 fixes #254 Reviewed-on: BgLUG/bglug.it#257 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
21 lines
486 B
HTML
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 }}
|