{{- $reveal_location := $.Param "reveal_hugo.reveal_cdn" | default "reveal-js" -}}
{{ if $.Param "reveal_hugo.load_default_plugins" | default true }} {{ $default_plugins := slice "plugin/markdown/marked.js" "plugin/markdown/markdown.js" "plugin/highlight/highlight.js" "plugin/zoom-js/zoom.js" }} {{ range $default_plugins }} {{ end }} {{ end }} {{ range $.Param "reveal_hugo.plugins" }} {{ end }} {{- $custom_js := $.Param "reveal_hugo.custom_js" -}} {{- if $custom_js -}} {{- end -}}