From fc3ca8de2ab1134caaf5f8d6099ba1a7f182e704 Mon Sep 17 00:00:00 2001 From: zkm Date: Sun, 16 Apr 2023 21:29:24 -0400 Subject: [PATCH] Fix broken paths on templates --- src/templates/faq.ejs | 4 ++-- src/templates/index.ejs | 12 ++++++------ src/templates/partials/footer.ejs | 2 +- src/templates/tools.ejs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/templates/faq.ejs b/src/templates/faq.ejs index 7de7176..9becf5c 100644 --- a/src/templates/faq.ejs +++ b/src/templates/faq.ejs @@ -1,4 +1,4 @@ -<%- include('./src/templates/partials/header.ejs'); -%> +<%- include('./partials/header.ejs'); -%>
@@ -61,4 +61,4 @@
-<%- include('./src/templates/partials/footer.ejs'); -%> \ No newline at end of file +<%- include('./partials/footer.ejs'); -%> \ No newline at end of file diff --git a/src/templates/index.ejs b/src/templates/index.ejs index eca31c4..0e193fa 100644 --- a/src/templates/index.ejs +++ b/src/templates/index.ejs @@ -1,15 +1,15 @@ -<%- include('./src/templates/partials/header.ejs'); -%> +<%- include('./partials/header.ejs'); -%>
- <%- include('./src/templates/partials/lead.ejs'); -%> - <%- include('./src/templates/partials/upload_form.ejs'); -%> + <%- include('./partials/lead.ejs'); -%> + <%- include('./partials/upload_form.ejs'); -%>
<% if (malwareBanner) { %> - <%- include('./src/templates/partials/malware_banner.ejs'); -%> + <%- include('./partials/malware_banner.ejs'); -%> <% } %> <% if (donationBanner) { %> - <%- include('./src/templates/partials/donation_banner.ejs'); -%> + <%- include('./partials/donation_banner.ejs'); -%> <% } %> -<%- include('./src/templates/partials/footer.ejs'); -%> \ No newline at end of file +<%- include('./partials/footer.ejs'); -%> \ No newline at end of file diff --git a/src/templates/partials/footer.ejs b/src/templates/partials/footer.ejs index 6f92e1c..3f2757c 100644 --- a/src/templates/partials/footer.ejs +++ b/src/templates/partials/footer.ejs @@ -1,4 +1,4 @@ -<%- include('./src/templates/partials/nav.ejs'); -%> +<%- include('./nav.ejs'); -%>
\ No newline at end of file diff --git a/src/templates/tools.ejs b/src/templates/tools.ejs index 5d761b4..cbee1b0 100644 --- a/src/templates/tools.ejs +++ b/src/templates/tools.ejs @@ -1,4 +1,4 @@ -<%- include('./src/templates/partials/header.ejs'); -%> +<%- include('./partials/header.ejs'); -%>

<%= siteName %> Tools

@@ -56,4 +56,4 @@
-<%- include('./src/templates/partials/footer.ejs'); -%> \ No newline at end of file +<%- include('./partials/footer.ejs'); -%> \ No newline at end of file