mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 13:34:28 -04:00
Switch to ejs 3 compliant imports
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
fcc4efb8db
commit
b468fb623b
11 changed files with 45 additions and 45 deletions
|
@ -13,19 +13,19 @@
|
|||
<% } %>
|
||||
<base href="<%- serverURL %>/">
|
||||
<title><%= title %></title>
|
||||
<%- include includes/favicon.ejs %>
|
||||
<%- include('includes/favicon.ejs') %>
|
||||
|
||||
<% if(useCDN) { %>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.7.0/css/reveal.min.css" integrity="sha256-9+Wg2bcNeiOMGXOUNqBdceY2lAH/eCiTDcdzHhHIl48=" crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
|
||||
<%- include build/slide-header %>
|
||||
<%- include shared/polyfill %>
|
||||
<%- include('build/slide-header') %>
|
||||
<%- include('shared/polyfill') %>
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="<%- serverURL %>/build/reveal.js/css/reveal.css">
|
||||
<link rel="stylesheet" href='<%- serverURL %>/build/emojify.js/dist/css/basic/emojify.min.css'>
|
||||
<%- include build/slide-pack-header %>
|
||||
<%- include('build/slide-pack-header') %>
|
||||
<% } %>
|
||||
|
||||
<!-- For reveal.js theme -->
|
||||
|
@ -80,7 +80,7 @@
|
|||
</div>
|
||||
<% if(typeof disqus !== 'undefined' && disqus && !dnt) { %>
|
||||
<div class="slides-disqus">
|
||||
<%- include shared/disqus %>
|
||||
<%- include('shared/disqus') %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
|
@ -104,14 +104,14 @@
|
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script>
|
||||
<%- include build/slide-scripts %>
|
||||
<%- include('build/slide-scripts') %>
|
||||
<% } else { %>
|
||||
<script src="<%- serverURL %>/build/MathJax/MathJax.js" defer></script>
|
||||
<script src="<%- serverURL %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script>
|
||||
<script src="<%- serverURL %>/build/MathJax/config/Safe.js" defer></script>
|
||||
<%- include build/slide-pack-scripts %>
|
||||
<%- include('build/slide-pack-scripts') %>
|
||||
<% } %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%- include shared/ga %>
|
||||
<%- include('shared/ga') %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue