2019-12-01 11:58:24 +00:00
|
|
|
{{ $reveal := .Site.Data.lib.reveal }}
|
2019-11-30 17:28:55 +00:00
|
|
|
|
2019-12-01 11:58:24 +00:00
|
|
|
{{ $reveal_style := resources.Get "lib/reveal/reveal.css" | resources.Minify| resources.Fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $reveal_style.RelPermalink }}">
|
2019-11-30 17:28:55 +00:00
|
|
|
|
2019-12-01 11:58:24 +00:00
|
|
|
{{ $reveal_script := resources.Get "lib/reveal/reveal.js" | resources.Minify | resources.Fingerprint }}
|
2019-11-30 17:28:55 +00:00
|
|
|
<script defer src="{{ $reveal_script.RelPermalink }}"></script>
|
2019-12-01 11:58:24 +00:00
|
|
|
|
|
|
|
{{ if in .Params.Plugins "markdown" }}
|
|
|
|
<script defer src="{{ $reveal.plugin.marked.url }}" integrity="{{ $reveal.plugin.marked.sri }}" crossorigin="anonymous"></script>
|
|
|
|
<script defer src="{{ $reveal.plugin.markdown.url }}" integrity="{{ $reveal.plugin.markdown.sri }}" crossorigin="anonymous"></script>
|
|
|
|
{{ end }}
|
|
|
|
|
2019-11-30 17:28:55 +00:00
|
|
|
<script>
|
|
|
|
window.onload = function() {
|
|
|
|
Reveal.initialize();
|
|
|
|
}
|
|
|
|
</script>
|