From cb265986f3700855de21df03b003a5de2e44bea6 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Wed, 18 Nov 2020 21:52:50 +0100 Subject: Remove irritating footer files Signed-off-by: Tilman Vatteroth --- public/views/error.ejs | 1 - public/views/hedgedoc.ejs | 2 +- public/views/hedgedoc/foot.ejs | 29 ----------------------------- public/views/hedgedoc/footer.ejs | 29 +++++++++++++++++++++++++++++ public/views/index.ejs | 1 - public/views/index/foot.ejs | 12 ------------ public/views/index/footer.ejs | 12 ++++++++++++ 7 files changed, 42 insertions(+), 44 deletions(-) delete mode 100644 public/views/hedgedoc/foot.ejs create mode 100644 public/views/hedgedoc/footer.ejs delete mode 100644 public/views/index/foot.ejs (limited to 'public') 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 @@

<%- code %> <%- detail %> <%- msg %>

- <%- include hedgedoc/footer %> 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 @@ <%- include hedgedoc/header %> <%- include hedgedoc/body %> - <%- include hedgedoc/foot %> + <%- include hedgedoc/footer %> diff --git a/public/views/hedgedoc/foot.ejs b/public/views/hedgedoc/foot.ejs deleted file mode 100644 index 9d620e29..00000000 --- a/public/views/hedgedoc/foot.ejs +++ /dev/null @@ -1,29 +0,0 @@ - -<% if(useCDN) { %> - - - - - - - - - - - - - - - - - - - - -<%- include ../build/index-scripts %> -<% } else { %> - - - -<%- include ../build/index-pack-scripts %> -<% } %> diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs new file mode 100644 index 00000000..9d620e29 --- /dev/null +++ b/public/views/hedgedoc/footer.ejs @@ -0,0 +1,29 @@ + +<% if(useCDN) { %> + + + + + + + + + + + + + + + + + + + + +<%- include ../build/index-scripts %> +<% } else { %> + + + +<%- include ../build/index-pack-scripts %> +<% } %> 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 %> 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) { %> - - - - - - - -<%- 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) { %> + + + + + + + +<%- include ../build/cover-scripts %> +<% } else { %> +<%- include ../build/cover-pack-scripts %> +<% } %> \ No newline at end of file -- cgit v1.2.3