diff --git a/layouts/partials/layout/theme.html b/layouts/partials/layout/theme.html index 390fa73..fe9e6eb 100644 --- a/layouts/partials/layout/theme.html +++ b/layouts/partials/layout/theme.html @@ -1,12 +1,13 @@ {{- $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 | toCSS | minify | fingerprint }} + {{ $asset := resources.Get $custom_theme | toCSS $custom_theme_options | minify | fingerprint }} {{- else -}}