From 5ac83efd59ab85d0bdf82d5847fe9fe0b11232d9 Mon Sep 17 00:00:00 2001 From: Elias Haugsbakk Date: Wed, 22 Jul 2026 14:14:24 +0200 Subject: update article to post on the backend and blog on the frontend --- .../src/main/resources/templates/posts.html | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 clams-server/src/main/resources/templates/posts.html (limited to 'clams-server/src/main/resources/templates/posts.html') diff --git a/clams-server/src/main/resources/templates/posts.html b/clams-server/src/main/resources/templates/posts.html new file mode 100644 index 0000000..3eecd62 --- /dev/null +++ b/clams-server/src/main/resources/templates/posts.html @@ -0,0 +1,38 @@ +{% extends "templates/layout.html" %} + +{% block content %} +
+ ← back +
+

Blog

+

My blog posts.

+ +
+ + +
+
+ +
+

All Posts

+ {% for group in posts_by_year %} +
+ {{ group.key }} +
    + {% for post in group.value %} +
  • + + {{ post.title }} + {% if post.summary is not empty %} +
    + -- {{ post.summary }} + {% endif %} +
  • + {% endfor %} +
+
+ {% endfor %} +
+
+{% endblock %} -- cgit v1.2.3