From 3d9884739281e62bd2d222f83dde848a6b4b8beb Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Aug 2016 18:25:55 +0100 Subject: [PATCH] make 404 page look a bit nicer --- content/pages/404.html | 9 +-------- theme/templates/extras/page-header.html | 6 ++++++ theme/templates/page.html | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 theme/templates/extras/page-header.html diff --git a/content/pages/404.html b/content/pages/404.html index 3266105..16a5aab 100644 --- a/content/pages/404.html +++ b/content/pages/404.html @@ -2,15 +2,8 @@ - -

The page you were looking for could not be found.

@@ -20,7 +13,7 @@

For now, here's a picture of a cat!

- Cat + Cat
diff --git a/theme/templates/extras/page-header.html b/theme/templates/extras/page-header.html new file mode 100644 index 0000000..8c80e3b --- /dev/null +++ b/theme/templates/extras/page-header.html @@ -0,0 +1,6 @@ + diff --git a/theme/templates/page.html b/theme/templates/page.html index 1aa0531..dd8af45 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -10,7 +10,7 @@ {% block content %} {% if not page.no_container %} - {% include 'extras/header.html' with context %} + {% include 'extras/page-header.html' with context %}
{{ page.content }}