diff --git a/public/views/error.ejs b/public/views/error.ejs
index df951d4ac..1768adeab 100644
--- a/public/views/error.ejs
+++ b/public/views/error.ejs
@@ -2,12 +2,12 @@
- <%- include hedgedoc/head %>
+ <%- include('hedgedoc/head') %>
<%- code %> <%- detail %> <%- msg %>
diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs
index f17150c49..b4bf816e6 100644
--- a/public/views/hedgedoc.ejs
+++ b/public/views/hedgedoc.ejs
@@ -1,14 +1,14 @@
-
+
- <%- include hedgedoc/head %>
+ <%- include('hedgedoc/head') %>
- <%- include hedgedoc/header %>
- <%- include hedgedoc/body %>
- <%- include hedgedoc/footer %>
+ <%- include('hedgedoc/header') %>
+ <%- include('hedgedoc/body') %>
+ <%- include('hedgedoc/footer') %>
diff --git a/public/views/hedgedoc/body.ejs b/public/views/hedgedoc/body.ejs
index 96cb8f952..af7b9465b 100644
--- a/public/views/hedgedoc/body.ejs
+++ b/public/views/hedgedoc/body.ejs
@@ -247,7 +247,7 @@
-<%- 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 9d620e295..51d472219 100644
--- a/public/views/hedgedoc/footer.ejs
+++ b/public/views/hedgedoc/footer.ejs
@@ -20,10 +20,10 @@
-<%- include ../build/index-scripts %>
+<%- include('../build/index-scripts') %>
<% } else { %>
-<%- 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 f7e4c8fda..446687953 100644
--- a/public/views/hedgedoc/head.ejs
+++ b/public/views/hedgedoc/head.ejs
@@ -4,7 +4,7 @@
- <%- include shared/disqus %>
+ <%- include('shared/disqus') %>
<% } %>
@@ -97,11 +97,11 @@
-<%- include build/pretty-scripts %>
+<%- include('build/pretty-scripts') %>
<% } else { %>
-<%- 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 b88fe5a27..bec8079ad 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -13,19 +13,19 @@
<% } %>