From f23f9cfd203d5fe17c82cf17b2e00a3dd2d45a2d Mon Sep 17 00:00:00 2001 From: Korbs Date: Sun, 12 May 2024 18:25:33 -0400 Subject: [PATCH] Add error template to layouts folder --- html/404.ejs | 2 +- html/502.ejs | 2 +- html/{ => layouts}/error.ejs | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename html/{ => layouts}/error.ejs (100%) diff --git a/html/404.ejs b/html/404.ejs index 7fc9294..8a7d8e6 100644 --- a/html/404.ejs +++ b/html/404.ejs @@ -1,4 +1,4 @@ -<%- include('error.ejs', { +<%- include('./layouts/error.ejs', { error: "404 ER_ROR", description: "you are in violation. thEy mustn't know you were here. no one should ever find out About this. you can never tell anyone about thiS -- for The sake of the others' survIval, you muSt keep this silent. we mUst keeP silent. no one can know. no one can know. no o ne c an kn ow_ (Violation Code. 15398642_14)" }) %> \ No newline at end of file diff --git a/html/502.ejs b/html/502.ejs index fe9d095..7a7cfdb 100644 --- a/html/502.ejs +++ b/html/502.ejs @@ -1,4 +1,4 @@ -<%- include('error.ejs', { +<%- include('./layouts/error.ejs', { error: "502", description: "An error has occurred. Try again or come back later." }) %> \ No newline at end of file diff --git a/html/error.ejs b/html/layouts/error.ejs similarity index 100% rename from html/error.ejs rename to html/layouts/error.ejs