diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..b913f2c
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,16 @@
+{% extends "index.html" %}
+
+{% block title %}
+404
+{% endblock title %}
+
+{% block header_menu %}
+{{ menu_macros::menu_for(config=config, current_item="") }}
+{% endblock header_menu %}
+
+{% block content %}
+
+
Lost?
+
This page does not exist.
+
+{% endblock content %}
diff --git a/templates/index.html b/templates/index.html
index 3d87910..ffa068a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -45,7 +45,9 @@
+ {% block header_menu %}
{{ menu_macros::menu(config=config, current_path=current_path) }}
+ {% endblock header_menu %}
{% endblock header %}
diff --git a/templates/macros/menu.html b/templates/macros/menu.html
index ca7fc67..58314e3 100644
--- a/templates/macros/menu.html
+++ b/templates/macros/menu.html
@@ -2,8 +2,6 @@
{%- if config.extra.menu_items %}
{%- set menu_items = config.extra.menu_items -%}
-