aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/error.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/error.ejs')
-rw-r--r--app/views/error.ejs16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/error.ejs b/app/views/error.ejs
new file mode 100644
index 0000000..87296bc
--- /dev/null
+++ b/app/views/error.ejs
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Error: <%= code %></title>
+ <link rel="stylesheet" href="/css/globalstyles.css">
+</head>
+<body>
+ <div id="main-container">
+ <%- include('partials/header') %>
+ <div id="content">
+ <h1>An error occurred (<%= code %>)</h1>
+ <p>Go <a href="/">home</a>?</p>
+ </div>
+ </div>
+</body>
+</html>