{{ define "main" }} {{- $title := or .Params.header_text .Title -}} {{- partial "header/hero.html" (dict "title" $title "image" .Params.image "context" . ) -}}
{{ partial "toc/container.html" (dict "toc" "sitemap/toc.html" "context" . ) }} {{ partial "sitemap/summary.html" (dict "context" . "block_wrapped" true ) }} {{ partial "contents/list.html" . }} {{ range .Site.Sections }} {{ if ne .Type "sitemap" }} {{ $permalink := .Permalink }}

{{ safeHTML .Title }}

    {{ range where .Site.Pages "Section" .Type }} {{ if ne $permalink .Permalink }}
  • {{ safeHTML .Title }}
  • {{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }}