From e284d708d377b76f7484f9ddd5fd055c2c75f18a Mon Sep 17 00:00:00 2001 From: foswret Date: Thu, 2 Apr 2026 18:19:14 -0500 Subject: simplify css, add image gradient, fix rss path --- templates/404.html | 3 +++ templates/base.html | 10 +++++++++- templates/partials/footer.html | 4 +++- templates/partials/header.html | 5 +++++ templates/partials/nav.html | 5 +++++ templates/posts.html | 3 ++- 6 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 templates/404.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..381dc15 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,3 @@ +{% extends "base.html" %} + +

404: Page not found.

diff --git a/templates/base.html b/templates/base.html index 7e9a668..aa7d7bf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,7 +5,15 @@ - CHANGE ME + {% block rss %} + + {% endblock %} + + {% if page.title %} {{ page.title }} | {{ config.title }} + {% elif section.title %} {{ section.title }} | {{ config.title }} + {% elif config.title %} {{ config.title }} + {% else %} Post {% endif %} + diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 472d9ea..b9db931 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -1,4 +1,6 @@ diff --git a/templates/partials/header.html b/templates/partials/header.html index 3400a2b..8f49975 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -1,5 +1,6 @@
+
{% if config.title %}
@@ -12,5 +13,9 @@ {% include "partials/nav.html" %} +
+
+
+
diff --git a/templates/partials/nav.html b/templates/partials/nav.html index f1f7d9b..b9c4cd7 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -2,6 +2,11 @@ {% for item in config.extra.navbar_items %} + {% endfor %} {% endif %} + + diff --git a/templates/posts.html b/templates/posts.html index 169c75d..dfe0001 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -6,7 +6,8 @@ {% endblock content %} -- cgit v1.2.3