{{ partial "head.html" . }} {{ partial "body-top" . }}
{{ range $i, $m := .Site.Menus.main -}} {{ $partial := printf "partials/sections/%s.html" $m.Identifier }} {{ $page := $m.Page }} {{ if not $page -}} {{ $page = $.Site.GetPage $m.Identifier }} {{- end }} {{ if templates.Exists $partial }}
{{ partial $partial $page }}
{{ else if $page }}
{{ partial "partials/sections/default.html" $page }}
{{ else }} {{ warnf "could not find page for menu: %#v\n\t💡 TIP: Please create one via `hugo new %s`" $m $m.Identifier }} {{- end }} {{- end }}
{{ partial "footer.html" . }} {{ partial "body-bottom" . }} {{ if .Site.Params.Feat.notifyOnNewThemeVersion }} {{ partial "release-notify" site.Data.release_notify }} {{ end }}