From: zkm Date: Mon, 17 Apr 2023 01:29:24 +0000 (-0400) Subject: Fix broken paths on templates X-Git-Tag: v.1.7.1~4^2 X-Git-Url: https://jfr.im/git/uguu.git/commitdiff_plain/fc3ca8de2ab1134caaf5f8d6099ba1a7f182e704 Fix broken paths on templates --- 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