From 19c9cb227b343377853321e2cdc4285b2ea23e3a Mon Sep 17 00:00:00 2001 From: Elias Haugsbakk Date: Wed, 1 Jul 2026 21:18:58 +0200 Subject: implement blog index page with featured and all posts --- .../src/main/resources/templates/blog.html | 33 ++++++---------------- 1 file changed, 8 insertions(+), 25 deletions(-) (limited to 'clams-server/src/main/resources/templates/blog.html') diff --git a/clams-server/src/main/resources/templates/blog.html b/clams-server/src/main/resources/templates/blog.html index 168cfe1..200a144 100644 --- a/clams-server/src/main/resources/templates/blog.html +++ b/clams-server/src/main/resources/templates/blog.html @@ -1,13 +1,6 @@ - - - - - Elias Haugsbakk's Blog - - - - +{% extends "templates/layout.html" %} +{% block content %}

Elias Haugsbakk's Blog

@@ -21,28 +14,18 @@
-
-

{{ all_posts_title }}

- - {{ all_posts_by_year | raw }} +
+

All Posts

+ {{ all_posts| raw }}
-
-

Recent

+
+

Featured

{{ recent_posts | raw }}
- - - - +{% endblock %} -- cgit v1.2.3