summaryrefslogtreecommitdiff
path: root/public/views/index
diff options
context:
space:
mode:
authorDavid Mehren2021-02-09 20:27:29 +0100
committerDavid Mehren2021-02-09 20:27:39 +0100
commitb468fb623b055ea6f105b40289d708023e59a07e (patch)
tree22edfa602b09c82a63f599ac65879ad95d69e4a6 /public/views/index
parentfcc4efb8dbbb1ad133ef353e264a5b612661c509 (diff)
Switch to ejs 3 compliant imports
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'public/views/index')
-rw-r--r--public/views/index/body.ejs2
-rw-r--r--public/views/index/footer.ejs6
-rw-r--r--public/views/index/head.ejs8
3 files changed, 8 insertions, 8 deletions
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') %>
<% } %>