summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Vatteroth2020-11-18 21:52:50 +0100
committerTilman Vatteroth2020-11-18 21:52:50 +0100
commitcb265986f3700855de21df03b003a5de2e44bea6 (patch)
treed7a023bcb88e0b3568350c16b08c26c972f3ce95
parentb111d1f7fd577286817cbba56d323ba67505671f (diff)
Remove irritating footer files
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Diffstat (limited to '')
-rw-r--r--public/views/error.ejs1
-rw-r--r--public/views/hedgedoc.ejs2
-rw-r--r--public/views/hedgedoc/footer.ejs (renamed from public/views/hedgedoc/foot.ejs)0
-rw-r--r--public/views/index.ejs1
-rw-r--r--public/views/index/foot.ejs12
-rw-r--r--public/views/index/footer.ejs12
6 files changed, 13 insertions, 15 deletions
diff --git a/public/views/error.ejs b/public/views/error.ejs
index e208d778..df951d4a 100644
--- a/public/views/error.ejs
+++ b/public/views/error.ejs
@@ -13,7 +13,6 @@
<h1><%- code %> <%- detail %> <small><%- msg %></small></h1>
</div>
</div>
- <%- include hedgedoc/footer %>
</body>
</html>
diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs
index cfedb2b5..f17150c4 100644
--- a/public/views/hedgedoc.ejs
+++ b/public/views/hedgedoc.ejs
@@ -8,7 +8,7 @@
<body>
<%- include hedgedoc/header %>
<%- include hedgedoc/body %>
- <%- include hedgedoc/foot %>
+ <%- include hedgedoc/footer %>
</body>
</html>
diff --git a/public/views/hedgedoc/foot.ejs b/public/views/hedgedoc/footer.ejs
index 9d620e29..9d620e29 100644
--- a/public/views/hedgedoc/foot.ejs
+++ b/public/views/hedgedoc/footer.ejs
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 5732db4a..0da58bcd 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -9,7 +9,6 @@
<%- include index/header %>
<%- include index/body %>
<%- include index/footer %>
- <%- include index/foot %>
</body>
</html>
diff --git a/public/views/index/foot.ejs b/public/views/index/foot.ejs
deleted file mode 100644
index 638f4930..00000000
--- a/public/views/index/foot.ejs
+++ /dev/null
@@ -1,12 +0,0 @@
-<% if(useCDN) { %>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.4.0/velocity.min.js" integrity="sha256-bhm0lgEt6ITaZCDzZpkr/VXVrLa5RP4u9v2AYsbzSUk=" crossorigin="anonymous" defer></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha256-kJrlY+s09+QoWjpkOrXXwhxeaoDz9FW5SaxF8I0DibQ=" crossorigin="anonymous" defer></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/list.pagination.js/0.1.1/list.pagination.min.js" integrity="sha256-WwTza96H3BgcQTfEfxX7MFaFc/dZA0QrPRKDRLdFHJo=" crossorigin="anonymous" defer></script>
-<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 %>
-<% } else { %>
-<%- include ../build/cover-pack-scripts %>
-<% } %> \ No newline at end of file
diff --git a/public/views/index/footer.ejs b/public/views/index/footer.ejs
index e69de29b..638f4930 100644
--- a/public/views/index/footer.ejs
+++ b/public/views/index/footer.ejs
@@ -0,0 +1,12 @@
+<% if(useCDN) { %>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.4.0/velocity.min.js" integrity="sha256-bhm0lgEt6ITaZCDzZpkr/VXVrLa5RP4u9v2AYsbzSUk=" crossorigin="anonymous" defer></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha256-kJrlY+s09+QoWjpkOrXXwhxeaoDz9FW5SaxF8I0DibQ=" crossorigin="anonymous" defer></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/list.pagination.js/0.1.1/list.pagination.min.js" integrity="sha256-WwTza96H3BgcQTfEfxX7MFaFc/dZA0QrPRKDRLdFHJo=" crossorigin="anonymous" defer></script>
+<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 %>
+<% } else { %>
+<%- include ../build/cover-pack-scripts %>
+<% } %> \ No newline at end of file