aboutsummaryrefslogtreecommitdiff
path: root/views/errors
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-06-26 22:02:17 +0530
committerBobby <[email protected]>2022-06-26 22:02:17 +0530
commit82e67e49f4e15c3e543c49450ab12111723f09c9 (patch)
tree51abca59c1516a720a4aa3c3cc4ccb7d98406689 /views/errors
parentd70a2c9397d25296021871ac088a28054923e970 (diff)
downloadthatcomputerscientist-82e67e49f4e15c3e543c49450ab12111723f09c9.tar.xz
thatcomputerscientist-82e67e49f4e15c3e543c49450ab12111723f09c9.zip
fix domain based URLs
Diffstat (limited to 'views/errors')
-rw-r--r--views/errors/page_error.ejs34
1 files changed, 9 insertions, 25 deletions
diff --git a/views/errors/page_error.ejs b/views/errors/page_error.ejs
index baa97f98..594c1bb7 100644
--- a/views/errors/page_error.ejs
+++ b/views/errors/page_error.ejs
@@ -1,26 +1,10 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta
- name="description"
- content="Welcome to the home of That Computer Scientist. I am Kumar Priyansh. This is my personal website where I share all of my thoughts, ideas, and experiences."
- />
- <title>That Computer Scientist - <%= title %></title>
- <!-- <link rel="stylesheet" href="css/fonts.css"> -->
- <link preload rel="stylesheet" href="../css/main.css" />
- </head>
- <body>
- <div class="main">
- <div class="errorbox">
- <h1 class="error">Whoops! Encountered an error!</h1>
- <p><%= error %></p>
- <p>Please click <a href="/">here</a> to go back to the home page.</p>
- </div>
- </div>
+<%- include('../partials/header.ejs') %> <%- include('../partials/sidebar.ejs') %>
+<div class="main">
+ <div class="errorbox">
+ <h1 class="error">Whoops! Encountered an error!</h1>
+ <p><%= error %></p>
+ <p>Please click <a href="/">here</a> to go back to the home page.</p>
+ </div>
+</div>
- <%- include('../partials/footer.ejs') %>
- </body>
-</html>
+<%- include('../partials/footer.ejs') %>