diff --git a/app/routes.php b/app/routes.php index 1ff696b..73398c5 100755 --- a/app/routes.php +++ b/app/routes.php @@ -1,12 +1,15 @@ notFound(function() use ($app) { + $app->render('errors/404.twig'); +}); diff --git a/app/views/errors/404.twig b/app/views/errors/404.twig new file mode 100644 index 0000000..928c58e --- /dev/null +++ b/app/views/errors/404.twig @@ -0,0 +1,13 @@ +{% extends 'templates/default.twig' %} + +{% block title %}404 Error{% endblock %} + +{% block content %} + +
+
+

404 Error

+

The URL you were looking for doesn't exist. Perhaps you'd like to start over at the home page?

+
+
+{% endblock %}