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:
@@ -63,4 +63,8 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
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 -}}
|
||||||
@@ -20,4 +20,8 @@
|
|||||||
<!-- Theme used for syntax highlighting of code -->
|
<!-- Theme used for syntax highlighting of code -->
|
||||||
{{- $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