From 6ab92ddbac84f87dc598016de45845a26818dd52 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 3 Sep 2018 20:54:07 +0200 Subject: Add a handler when pages aren't found. (#379) Fixes #356 --- ihatemoney/templates/404.html | 13 +++++++++++++ ihatemoney/templates/layout.html | 22 +++++++++++----------- 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 ihatemoney/templates/404.html (limited to 'ihatemoney/templates') diff --git a/ihatemoney/templates/404.html b/ihatemoney/templates/404.html new file mode 100644 index 0000000..7e282c2 --- /dev/null +++ b/ihatemoney/templates/404.html @@ -0,0 +1,13 @@ +{% extends "layout.html" %} + +{% block body %} + +
+ +{% endblock %} diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html index cb36a6f..3523ef7 100644 --- a/ihatemoney/templates/layout.html +++ b/ihatemoney/templates/layout.html @@ -32,13 +32,13 @@ -- cgit v1.1