diff options
Diffstat (limited to 'views/error.ejs')
| -rw-r--r-- | views/error.ejs | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/views/error.ejs b/views/error.ejs index d11cc4be..16a9f991 100644 --- a/views/error.ejs +++ b/views/error.ejs @@ -1,14 +1,26 @@ -<%- include('partials/header.ejs') %> <%- include('partials/sidebar.ejs') %> -<div class="main"> - <div class="alert"> - <h1 class="error">error</h1> - <p> - <%= error %> - </p> - </div> - <section> - <h2>Recent Posts</h2> - </section> -</div> +<!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/footer.ejs') %> + <%- include('partials/footer.ejs') %> + </body> +</html> |
