{{ .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.Title) .Site.Title $sp.Title) .Page.Params.Caption }} {{- if (eq (printf "%T" $caption) "string") }} {{- .Page.Params.caption -}} {{- else }} {{- index .Page.Params.caption 0 }} {{- if (gt (len .Page.Params.caption) 1) }} {{- range after 1 .Page.Params.caption -}}
{{ . }} {{- end -}} {{- end -}} {{- end }}
{{ block "main" . }}{{ end }}