1
0
forked from BgLUG/bglug.it
bglug.it/layouts/partials/sidebar/en_taglist.html
paspo 736ab3bc8a nascondi tag featured in sidebar (#182)
fixes #179

Reviewed-on: BgLUG/bglug.it#182
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-08-03 19:19:09 +00:00

12 lines
362 B
HTML

<section>
{{- $hiddenTags := slice "Linuxday-Featured" -}}
<h3>Tags</h3>
<ul class="tags-sidebar">
{{ range where .Site.Taxonomies.tags ".Page.Section" .Section }}
{{ if not (in $hiddenTags .Page.LinkTitle ) }}
<li><a href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }}</a></li>
{{ end }}
{{ end }}
</ul>
</section>