Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/revealjs.html')
-rw-r--r--layouts/shortcodes/revealjs.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/shortcodes/revealjs.html b/layouts/shortcodes/revealjs.html
index b7a1be1..4a25fa7 100644
--- a/layouts/shortcodes/revealjs.html
+++ b/layouts/shortcodes/revealjs.html
@@ -2,11 +2,11 @@
<div id="slideContent">
- <link rel="stylesheet" href="{{"/vendor/revealjs/reveal.js-master/dist/reset.css"|relURL}}">
- <link rel="stylesheet" href="{{"/vendor/revealjs/reveal.js-master/dist/reveal.css"|relURL}}">
- <link rel="stylesheet" href="{{"/vendor/revealjs/reveal.js-master/dist/theme/"|relURL}}{{with .Get "theme"}}{{.|safeHTML}}{{else}}black{{end}}.css" id="theme">
+ <link rel="stylesheet" defer href="https://unpkg.com/reveal.js@4.0.2/dist/reset.css">
+ <link rel="stylesheet" defer href="https://unpkg.com/reveal.js@4.0.2/dist/reveal.css">
+ <link rel="stylesheet" defer href="https://unpkg.com/reveal.js@4.0.2/dist/theme/{{with .Get "theme"}}{{.|safeHTML}}{{else}}black{{end}}.css" id="theme">
<!-- Theme used for syntax highlighted code -->
- <link rel="stylesheet" href="{{"/vendor/revealjs/reveal.js-master/plugin/highlight/monokai.css"|relURL}}" id="highlight-theme">
+ <link rel="stylesheet" defer href="https://unpkg.com/reveal.js@4.0.2/plugin/highlight/monokai.css" id="highlight-theme">
<div class="reveal">
@@ -22,10 +22,10 @@
</div>
- <script async src="{{"/vendor/revealjs/reveal.js-master/dist/reveal.js"|relURL}}"></script>
- <script async src="{{"/vendor/revealjs/reveal.js-master/plugin/notes/notes.js"|relURL}}"></script>
- <script async src="{{"/vendor/revealjs/reveal.js-master/plugin/markdown/markdown.js"|relURL}}"></script>
- <script async src="{{"/vendor/revealjs/reveal.js-master/plugin/highlight/highlight.js"|relURL}}"></script>
+ <script async src="https://unpkg.com/reveal.js@4.0.2/dist/reveal.js"></script>
+ <script async src="https://unpkg.com/reveal.js@4.0.2/plugin/notes/notes.js"></script>
+ <script async src="https://unpkg.com/reveal.js@4.0.2/plugin/markdown/markdown.js"></script>
+ <script async src="https://unpkg.com/reveal.js@4.0.2/plugin/highlight/highlight.js"></script>
<script>
function initSlides() {