{{ define "intro" }} {{ if ne .Content "" }} {{ partial "snippets/content" (dict "content" .Content) }} {{ end }} {{ end }} {{ define "content" }} {{- $pages := where .Site.RegularPages "Section" "in" .Site.Params.searchSections -}} {{ partial "snippets/gen_list" (dict "context" . "pages" $pages "content" .Content "type" .Type "paginate" true) }} {{ end }} {{ define "sidebar" }} {{ end }}