{{- define "featured" }} {{ .Render "list/header" }} {{ end }} {{- define "main" -}} {{- $page := . -}} {{- $sections := $.Scratch.Get "sections" -}} {{- $fullCover := $.Scratch.Get "fullCover" -}} {{- $layout := $page.Params.layout -}}
{{- if ne $layout "featured" -}} {{ if and (not $page.IsHome) site.Params.navigation.breadcrumb }}
{{ partial "assets/breadcrumb.html" (dict "page" $page) }}
{{ end -}} {{- end -}} {{ .Render "list/body" }} {{ .Render "list/footer" }}
{{/* Display generated sections */}} {{ range $sections }} {{ .content | safeHTML }} {{ end }} {{/* Fill remaining space to push page footer to viewport bottom */}}
{{- end -}}