mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-05-18 21:03:29 +02:00
Add new settings to extend layout #58
This commit is contained in:
@@ -64,3 +64,7 @@
|
|||||||
if (hljs)
|
if (hljs)
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
</script>
|
</script>
|
||||||
|
{{- $custom_js := $.Param "reveal_hugo.custom_js" -}}
|
||||||
|
{{- if $custom_js -}}
|
||||||
|
<script type="text/javascript" src="{{ $custom_js | relURL }}"></script>
|
||||||
|
{{- end -}}
|
||||||
@@ -21,3 +21,7 @@
|
|||||||
{{- $highlight_theme := $.Param "reveal_hugo.highlight_theme" | default "default" -}}
|
{{- $highlight_theme := $.Param "reveal_hugo.highlight_theme" | default "default" -}}
|
||||||
<link rel="stylesheet" href="{{ printf "%s/%s.min.css" $highlight_location $highlight_theme | relURL }}">
|
<link rel="stylesheet" href="{{ printf "%s/%s.min.css" $highlight_location $highlight_theme | relURL }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- $custom_css := $.Param "reveal_hugo.custom_css" -}}
|
||||||
|
{{- if $custom_css -}}
|
||||||
|
<link rel="stylesheet" href="{{ $custom_css | relURL }}" id="custom_css">
|
||||||
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user