{{ $cdn_url_reveal := "https://cdn.jsdelivr.net/npm/reveal.js@4.2.1" }} {{ $js := site.Data.assets.js }} {{ $css := site.Data.assets.css }} {{ with site.Home.OutputFormats.Get "WebAppManifest" }} {{ end }} {{ .Title }} | {{ site.Title }} {{- $theme := $.Param "slides.theme" | default "black" -}} {{- $highlight_style := $.Param "slides.highlight_style" | default "dracula" -}} {{ printf "" (printf $css.highlight.url $css.highlight.version $highlight_style) | safeHTML }} {{ $css_custom := resources.Get "css/reveal_custom.css" }} {{ $style := slice $css_custom | resources.Concat "css/reveal_custom.css" | resources.Minify }} {{ block "main" . }}{{ end }} {{/* Third-party Reveal plugins. */}} {{ if $.Param "slides.reveal_options.menu_enabled" | default true}} {{ end }} {{ if $.Param "slides.diagram" | default false}} {{ printf "" (printf $js.mermaid.url $js.mermaid.version) $js.mermaid.sri | safeHTML }} {{ end }} {{ $slidejs := resources.Get "js/wowchemy-slides.js" | js.Build (dict "params" (dict "slides" $.Params.slides )) }}