2022-06-17 17:45:53 +02:00
|
|
|
{{ define "intro" }}
|
|
|
|
{{ if ne .Content "" }}
|
|
|
|
{{ partial "snippets/content" (dict "content" .Content) }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ define "content" }}
|
2022-06-22 16:09:01 +02:00
|
|
|
{{- $pages := where .Site.RegularPages "Section" "in" .Site.Params.searchSections -}}
|
|
|
|
{{- $pages = where $pages ".Params.about" "=" true -}}
|
2022-06-22 16:34:55 +02:00
|
|
|
{{ partial "snippets/gen_list" (dict "context" . "pages" $pages "content" .Content "type" .Type "paginate" true) }}
|
2022-06-17 17:45:53 +02:00
|
|
|
{{ end }}
|