From 91e8b5f0013896ac9dba33589382bd515ad1f5d6 Mon Sep 17 00:00:00 2001 From: Alphonse Paix Date: Fri, 19 Sep 2025 20:07:38 +0200 Subject: [PATCH] Templates adjustments --- templates/404.html | 60 ++++++------- templates/base.html | 11 +-- templates/confirm.html | 7 +- templates/dashboard.html | 5 +- templates/home.html | 178 ++++++++++++++++----------------------- templates/post.html | 4 +- templates/posts.html | 2 +- 7 files changed, 114 insertions(+), 153 deletions(-) diff --git a/templates/404.html b/templates/404.html index 4fd4c79..32e89ec 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,34 +1,36 @@ {% extends "base.html" %} -{% block title %}Not Found{% endblock %} +{% block title %}404{% endblock %} {% block content %} -
-
-

404

-

Not Found

-

- Sorry, we couldn't find the page you're looking for. The page may have been moved, deleted, or the URL might be incorrect. -

-
- - - - - Home - - - - - - Read posts - +
+
+
+

404

+

Not Found

+

+ Sorry, we couldn't find the page you're looking for. The page may have been moved, deleted, or the URL might be incorrect. +

+
diff --git a/templates/base.html b/templates/base.html index 56265e9..4ee876f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,7 +6,8 @@ - {% block title %}zero2prod{% endblock %} + {% block title %}{% endblock %} + - zero2prod @@ -36,10 +37,10 @@
-
-
- {% block content %}{% endblock %} -
+
+ + {% block content %}{% endblock %} +