forked from Bunteshaus/bunteshaus.de
13 lines
444 B
HTML
13 lines
444 B
HTML
{{ define "intro" }}
|
|
{{ if ne .Content "" }}
|
|
{{ partial "snippets/content" (dict "content" .Content) }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|
|
{{ define "content" }}
|
|
{{- $pages := where .Site.RegularPages "Section" "in" .Site.Params.searchSections -}}
|
|
{{- $pages = where $pages ".Params.about" "=" true -}}
|
|
{{ partial "snippets/gen_list" (dict "context" . "pages" $pages "content" .Content "type" .Type "paginate" true) }}
|
|
{{ end }}
|