13 lines
432 B
HTML
13 lines
432 B
HTML
{{ define "intro" }}
|
|
{{ if ne .Content "" }}
|
|
{{ partial "snippets/content" (dict "content" .Content) }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
|
{{- $pages := where .Site.RegularPages "Permalink" "!=" .Permalink -}}
|
|
{{- $pages = where $pages ".Params.featured" "=" true -}}
|
|
{{ partial "snippets/gen_list" (dict "context" . "pages" $pages "content" .Content "type" .Type "paginate" true) }}
|
|
{{ end }}
|
|
|