{{- $reveal_location := $.Param "reveal_hugo.reveal_cdn" | default "reveal-js" -}} {{- $highlight_location := $.Param "reveal_hugo.highlight_cdn" | default "highlight-js" -}} {{- $custom_theme := $.Param "reveal_hugo.custom_theme" -}} {{- $custom_theme := $.Param "reveal_hugo.custom_theme" -}} {{- if $custom_theme -}} {{- $custom_theme_options := $.Param "reveal_hugo.custom_theme_options" | default dict -}} {{- if $.Param "reveal_hugo.custom_theme_compile" -}} {{ $asset := resources.Get $custom_theme | resources.ExecuteAsTemplate "_.scss" . | toCSS $custom_theme_options | minify | fingerprint }} {{- else -}} {{- end -}} {{ else -}} {{- $theme := $.Param "reveal_hugo.theme" | default "black" -}} {{ end -}} {{ if $.Param "reveal_hugo.load_default_plugins" | default true -}} {{- $highlight_theme := $.Param "reveal_hugo.highlight_theme" | default "default" -}} {{- end }} {{- $custom_css := $.Param "reveal_hugo.custom_css" -}} {{- if $custom_css -}} {{- end -}}