All checks were successful
Container Publish / build-image (push) Successful in 3m56s
fixes #255 fixes #254 Reviewed-on: #257 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
12 lines
422 B
HTML
12 lines
422 B
HTML
{{- $linuxday_pages := (where .Site.Pages "Section" .Section) }}
|
|
{{- $featured_pages := where $linuxday_pages ".Params.grouping" "intersect" (slice "linuxday-featured") }}
|
|
{{- if gt (len $featured_pages) 0 }}
|
|
<section>
|
|
<h3>{{ T "featured" }}</h3>
|
|
<ul class="links">
|
|
{{ range $featured_pages }}
|
|
<li><a href="{{ ref . .Page.Path }}">{{ .Page.LinkTitle | safeHTML}}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</section>
|
|
{{ end }} |