{{ .Hugo.Generator }}
{{- $sp := .Site.GetPage "section" .Section }} {{- $sh := cond (or (not $sp.Params.header) (not (fileExists (printf "static/%s" $sp.Params.header)))) (cond (or (not .Site.Home.Params.header) (not (fileExists (printf "static/%s" .Site.Home.Params.header)))) "/img/speedy.png" .Site.Home.Params.header) $sp.Params.header }} {{- $ph := cond (or (not .Params.header) (not (fileExists (printf "static/%s" .Params.header)))) $sh .Params.header }}
{{- if not .Page.Params.heading }} {{ .Page.Title }} {{- else if eq (printf "%T" .Page.Params.heading) "string" }} {{ .Page.Params.heading }} {{- else }} {{- index .Page.Params.heading 0 }} {{- if (gt (len .Page.Params.heading) 1) }} {{- range after 1 .Page.Params.heading -}}
{{ . }} {{- end -}} {{- end -}} {{- end }}
{{ block "main" . }}{{ end }}