diff --git a/borgweb/borg/templates/404.html b/borgweb/borg/templates/404.html
index 3104e0d..05b8713 100644
--- a/borgweb/borg/templates/404.html
+++ b/borgweb/borg/templates/404.html
@@ -1,30 +1,4 @@
-{% extends "borg/base.html" %}
-{% load static %}
-
-{% block title %}404: Not Found{% endblock %}
-
-{% block style %}
- body {
- background-color: aliceblue;
- }
-
- .vertical-center {
- min-height: 80%;
- min-height: 80vh;
-
- display: flex;
- align-items: center;
- }
-{% endblock %}
-
-{% block body %}
-
-
-
-
-{% endblock %}
+{% extends "error.html" %}
+{% block title %}404: Page Not Found{% endblock %}
+{% block error_message %}404: Page Not Found{% endblock %}
diff --git a/borgweb/borg/templates/error.html b/borgweb/borg/templates/error.html
new file mode 100644
index 0000000..36b8573
--- /dev/null
+++ b/borgweb/borg/templates/error.html
@@ -0,0 +1,30 @@
+{% extends "borg/base.html" %}
+{% load static %}
+
+{% block title %}{% endblock %}
+
+{% block style %}
+ body {
+ background-color: aliceblue;
+ }
+
+ .vertical-center {
+ min-height: 80%;
+ min-height: 80vh;
+
+ display: flex;
+ align-items: center;
+ }
+{% endblock %}
+
+{% block body %}
+
+
+
+
{% block error_message %}{% endblock %}
+
+
+
+
+{% endblock %}
+