{{ partial "layout/head" . }} {{ partial "layout/theme" . }} {{- partial "reveal-hugo/head" . -}} {{- $sectionHeadPartial := printf "%s/reveal-hugo/head" (.Page.Section | default "home") -}} {{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}