2024-07-14 22:19:25 +00:00
|
|
|
{{- $linuxday_pages := (where .Site.Pages "Section" .Section) }}
|
2024-09-25 19:48:44 +00:00
|
|
|
{{- $featured_pages := where $linuxday_pages ".Params.grouping" "intersect" (slice "linuxday-featured") }}
|
2024-07-14 22:19:25 +00:00
|
|
|
{{- if gt (len $featured_pages) 0 }}
|
|
|
|
<section>
|
2024-09-20 19:50:16 +00:00
|
|
|
<h3>{{ T "featured" }}</h3>
|
2024-07-14 22:19:25 +00:00
|
|
|
<ul class="links">
|
|
|
|
{{ range $featured_pages }}
|
2024-08-01 20:51:30 +00:00
|
|
|
<li><a href="{{ ref . .Page.Path }}">{{ .Page.LinkTitle | safeHTML}}</a></li>
|
2024-07-14 22:19:25 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</section>
|
2024-08-01 20:51:30 +00:00
|
|
|
{{ end }}
|