{{ .Hugo.Generator }}
{{- $sp := .Site.GetPage "section" .Section }} {{- $ph := .Page.Resources.GetMatch "header.png" -}} {{- $ph := cond (not $ph) ($sp.Resources.GetMatch "header.png") $ph }} {{- $ph := cond (not $ph) (relURL "/img/speedy.png") $ph.RelPermalink }}
{{ $caption := cond (not .Page.Params.caption) (cond (not $sp.Params.caption) .Site.Title $sp.Params.caption) .Page.Params.caption }} {{- if (eq (printf "%T" $caption) "string") }} {{- $caption -}} {{- else }} {{- index $caption 0 }} {{- if (gt (len $caption) 1) }} {{- range after 1 $caption -}}
{{ . }} {{- end -}} {{- end -}} {{- end }}
{{ block "main" . }}{{ end }}