forked from BgLUG/bglug.it
14 lines
424 B
HTML
14 lines
424 B
HTML
|
{{- $linuxday_pages := (where .Site.Pages "Section" .Section) }}
|
||
|
{{- $featured_pages := where $linuxday_pages ".Params.tags" "intersect" (slice "linuxday-featured") }}
|
||
|
{{- if gt (len $featured_pages) 0 }}
|
||
|
<section>
|
||
|
<h3>In evidenza</h3>
|
||
|
<ul class="links">
|
||
|
{{ range $featured_pages }}
|
||
|
<li><a href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML}}</a></li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</section>
|
||
|
{{ end }}
|
||
|
|