diff --git a/templates/404.html b/templates/404.html index a2b7278..0697a0e 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,17 +1,14 @@ {% extends "base.html" %} +{% import "macros.html" as macros %} + {% block content %} -
-

Seite nicht gefunden

+
+

Page not found!

- + - +
{{ macros::btn(link=get_url(path='/') , text="Zurück zur Startseite") }}
{% endblock %} diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..c13e5e9 --- /dev/null +++ b/templates/macros.html @@ -0,0 +1,4 @@ +{% macro btn(link, text) %} + {{ text }} +{% endmacro %}