From 463c202d80f57efb8e46bab4ee4ad7038444b25d Mon Sep 17 00:00:00 2001 From: Elias Haugsbakk Date: Mon, 6 Jul 2026 21:12:40 +0200 Subject: implement post searching --- .../src/main/resources/templates/blog.html | 25 ++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 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 200a144..2c484a1 100644 --- a/clams-server/src/main/resources/templates/blog.html +++ b/clams-server/src/main/resources/templates/blog.html @@ -4,10 +4,12 @@

Elias Haugsbakk's Blog

-

This is the home page for my blog. The list of blog posts is a diverse collection of some of my writings; if you're just browsing, this might be a good place to start.

+

This is the home page for my blog. The featured list is a diverse collection of some + of my writings; if you're just browsing, this might be a good place to start.

- +
@@ -16,14 +18,29 @@

All Posts

- {{ all_posts| raw }} + {% for group in posts_by_year %} +
+ {{ group.key }} + +
+ {% endfor %}

Featured

- {{ recent_posts | raw }} +
    + {% for post in featured_posts %} +
  • + {{ post.title }} -- {{ post.summary }} +
  • + {% endfor %} +
-- cgit v1.2.3