summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
Diffstat (limited to 'public/views')
-rw-r--r--public/views/error.ejs4
-rw-r--r--public/views/hedgedoc.ejs10
-rw-r--r--public/views/hedgedoc/body.ejs8
-rw-r--r--public/views/hedgedoc/footer.ejs4
-rw-r--r--public/views/hedgedoc/head.ejs8
-rw-r--r--public/views/index.ejs8
-rw-r--r--public/views/index/body.ejs2
-rw-r--r--public/views/index/footer.ejs6
-rw-r--r--public/views/index/head.ejs8
-rw-r--r--public/views/pretty.ejs16
-rw-r--r--public/views/slide.ejs16
11 files changed, 45 insertions, 45 deletions
diff --git a/public/views/error.ejs b/public/views/error.ejs
index df951d4a..1768adea 100644
--- a/public/views/error.ejs
+++ b/public/views/error.ejs
@@ -2,12 +2,12 @@
<html lang="en">
<head>
- <%- include hedgedoc/head %>
+ <%- include('hedgedoc/head') %>
<link rel="stylesheet" href="<%- serverURL %>/css/center.css">
</head>
<body>
- <%- include hedgedoc/header %>
+ <%- include('hedgedoc/header') %>
<div class="container-fluid text-center">
<div class="vertical-center-row">
<h1><%- code %> <%- detail %> <small><%- msg %></small></h1>
diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs
index f17150c4..b4bf816e 100644
--- a/public/views/hedgedoc.ejs
+++ b/public/views/hedgedoc.ejs
@@ -1,14 +1,14 @@
-<!DOCTYPE html>
+ <!DOCTYPE html>
<html lang="en">
<head>
- <%- include hedgedoc/head %>
+ <%- include('hedgedoc/head') %>
</head>
<body>
- <%- include hedgedoc/header %>
- <%- include hedgedoc/body %>
- <%- include hedgedoc/footer %>
+ <%- include('hedgedoc/header') %>
+ <%- include('hedgedoc/body') %>
+ <%- include('hedgedoc/footer') %>
</body>
</html>
diff --git a/public/views/hedgedoc/body.ejs b/public/views/hedgedoc/body.ejs
index 96cb8f95..af7b9465 100644
--- a/public/views/hedgedoc/body.ejs
+++ b/public/views/hedgedoc/body.ejs
@@ -247,7 +247,7 @@
</div>
</div>
</div>
-<%- include ../shared/refresh-modal %>
-<%- include ../shared/signin-modal %>
-<%- include ../shared/help-modal %>
-<%- include ../shared/revision-modal %>
+<%- include('../shared/refresh-modal') %>
+<%- include('../shared/signin-modal') %>
+<%- include('../shared/help-modal') %>
+<%- include('../shared/revision-modal') %>
diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs
index 9d620e29..51d47221 100644
--- a/public/views/hedgedoc/footer.ejs
+++ b/public/views/hedgedoc/footer.ejs
@@ -20,10 +20,10 @@
<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/1000hz-bootstrap-validator/0.11.8/validator.min.js" integrity="sha256-LHeY7YoYJ0SSXbCx7sR14Pqna+52moaH3bhv0Mjzd/M=" 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/index-scripts %>
+<%- include('../build/index-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/index-pack-scripts %>
+<%- include('../build/index-pack-scripts') %>
<% } %>
diff --git a/public/views/hedgedoc/head.ejs b/public/views/hedgedoc/head.ejs
index f7e4c8fd..44668795 100644
--- a/public/views/hedgedoc/head.ejs
+++ b/public/views/hedgedoc/head.ejs
@@ -4,7 +4,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
-<%- include ../includes/favicon %>
+<%- include('../includes/favicon') %>
<% for (var og in opengraph) { %>
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
<meta property="og:<%- og %>" content="<%- opengraph[og] %>">
@@ -21,9 +21,9 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css" integrity="sha256-02JtFTurpwBjQJ6q13iJe82/NF0RbZlJroDegK5g87Y=" 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/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
-<%- include ../build/index-header %>
-<%- include ../shared/polyfill %>
+<%- include('../build/index-header') %>
+<%- include('../shared/polyfill') %>
<% } else { %>
<link rel="stylesheet" href='<%- serverURL %>/build/emojify.js/dist/css/basic/emojify.min.css'>
-<%- include ../build/index-pack-header %>
+<%- include('../build/index-pack-header') %>
<% } %>
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 0da58bcd..bd2c4fe6 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -2,13 +2,13 @@
<html lang="en">
<head>
- <%- include index/head %>
+ <%- include('index/head') %>
</head>
<body>
- <%- include index/header %>
- <%- include index/body %>
- <%- include index/footer %>
+ <%- include('index/header') %>
+ <%- include('index/body') %>
+ <%- include('index/footer') %>
</body>
</html>
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index d3552c75..5ae462d9 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -209,4 +209,4 @@
</div>
</div>
</div>
-<%- include ../shared/signin-modal %>
+<%- include('../shared/signin-modal') %>
diff --git a/public/views/index/footer.ejs b/public/views/index/footer.ejs
index 638f4930..c9532f6d 100644
--- a/public/views/index/footer.ejs
+++ b/public/views/index/footer.ejs
@@ -6,7 +6,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.2/select2.min.js" integrity="sha256-HzzZFiY4t0PIv02Tm8/R3CVvLpcjHhO1z/YAUCp4oQ4=" crossorigin="anonymous" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js" integrity="sha256-vvT7Ok9u6GbfnBPXnbM6FVDEO8E1kTdgHOFZOAXrktA=" crossorigin="anonymous" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.8/validator.min.js" integrity="sha256-LHeY7YoYJ0SSXbCx7sR14Pqna+52moaH3bhv0Mjzd/M=" crossorigin="anonymous" defer></script>
-<%- include ../build/cover-scripts %>
+<%- include('../build/cover-scripts') %>
<% } else { %>
-<%- include ../build/cover-pack-scripts %>
-<% } %> \ No newline at end of file
+<%- include('../build/cover-pack-scripts') %>
+<% } %>
diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs
index 900d6324..a6e79e35 100644
--- a/public/views/index/head.ejs
+++ b/public/views/index/head.ejs
@@ -6,7 +6,7 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta name="keywords" content="Collaborative, Markdown, Notes">
-<%- include ../includes/favicon %>
+<%- include('../includes/favicon') %>
<meta property="og:title" content="HedgeDoc - <%= __('Collaborative markdown notes') %>">
<meta property="og:description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta property="og:type" content="website">
@@ -22,8 +22,8 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css" integrity="sha256-02JtFTurpwBjQJ6q13iJe82/NF0RbZlJroDegK5g87Y=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.css" integrity="sha256-ijlUKKj3hJCiiT2HWo1kqkI79NTEYpzOsw5Rs3k42dI=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2-bootstrap.min.css" integrity="sha256-NAWFcNIZdH+TS1xpWujF/EB/Y8gwBbEOCoaK/eqaer8=" crossorigin="anonymous" />
-<%- include ../build/cover-header %>
-<%- include ../shared/polyfill %>
+<%- include('../build/cover-header') %>
+<%- include('../shared/polyfill') %>
<% } else { %>
-<%- include ../build/cover-pack-header %>
+<%- include('../build/cover-pack-header') %>
<% } %>
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 074b181b..78795211 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -24,17 +24,17 @@
<% } %>
<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/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
<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/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
- <%- include build/pretty-header %>
- <%- include shared/polyfill %>
+ <%- include('build/pretty-header') %>
+ <%- include('shared/polyfill') %>
<% } else { %>
<link rel="stylesheet" href='<%- serverURL %>/build/emojify.js/dist/css/basic/emojify.min.css'>
- <%- include build/pretty-pack-header %>
+ <%- include('build/pretty-pack-header') %>
<% } %>
</head>
@@ -73,7 +73,7 @@
<div id="ui-toc-affix" class="ui-affix-toc ui-toc-dropdown unselectable hidden-print" data-spy="affix" style="display:none;"></div>
<% if(typeof disqus !== 'undefined' && disqus && !dnt) { %>
<div class="container-fluid" style="max-width: 758px; margin-bottom: 40px;">
- <%- include shared/disqus %>
+ <%- include('shared/disqus') %>
</div>
<% } %>
</body>
@@ -97,11 +97,11 @@
<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/pretty-scripts %>
+<%- include('build/pretty-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/pretty-pack-scripts %>
+<%- include('build/pretty-pack-scripts') %>
<% } %>
-<%- include shared/ga %>
+<%- include('shared/ga') %>
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index b88fe5a2..bec8079a 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -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') %>