{{- $reveal_cdn := $.Param "reveal_hugo.reveal_cdn" | default "reveal-js" -}} {{- $highlight_cdn := $.Param "reveal_hugo.highlight_cdn" | default "highlight-js/src/styles" -}} {{ or .Page.Title .Site.Title }} {{ with $.Param "description" }}{{ end }} {{ with .Site.Author.name }}{{ end }} {{- $theme := $.Param "reveal_hugo.theme" | default "black" -}} {{- $custom_theme := $.Param "reveal_hugo.custom_theme" -}} {{- if $custom_theme -}} {{ else -}} {{- end -}} {{- $highlight_theme := $.Param "reveal_hugo.highlight_theme" | default "default" -}} {{- 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 }}
{{- block "main" . -}}{{- end -}}
{{- partial "reveal-hugo/end" . -}} {{- $sectionHeadPartial := printf "%s/reveal-hugo/end" (.Page.Section | default "home") -}} {{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}
{{- partial "reveal-hugo/body" . }} {{- $sectionBodyPartial := printf "%s/reveal-hugo/body" (.Page.Section | default "home") -}} {{- if fileExists (printf "layouts/partials/%s.html" $sectionBodyPartial) -}}{{ partial $sectionBodyPartial . }}{{- end }}