From 71d551c3057520f50f0e437e89e064de33e7cbd5 Mon Sep 17 00:00:00 2001
From: Jan-Erik Rediger <janerik@fnordig.de>
Date: Sun, 30 Mar 2025 12:24:13 +0200
Subject: [PATCH] Updated posts list for posts by tag

---
 tagged/mozilla.liquid | 16 ++++++++++------
 tagged/nix.liquid     | 16 ++++++++++------
 tagged/rust.liquid    | 16 ++++++++++------
 3 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/tagged/mozilla.liquid b/tagged/mozilla.liquid
index 6da494b..e303650 100644
--- a/tagged/mozilla.liquid
+++ b/tagged/mozilla.liquid
@@ -8,14 +8,18 @@ data:
 
 <a href="/tagged/mozilla.xml">RSS Feed</a>
 
-<table>
+<ul class="posts-list">
   {%- for post in collections.posts.pages %}
     {%- assign postyear = post.published_date | date: "%Y" %}
     {%- if post.tags and post.tags contains "mozilla" -%}
-      <tr>
-        <td>{{ post.published_date | date: "%d. %b %Y"}}</td>
-        <td><a href="/{{post.permalink }}">{{post.title}}</a></td>
-      </tr>
+      <li>
+        <a href="/{{post.permalink }}">
+          <span>{{post.title}}</span>
+          <span>
+            <time datetime="{{ post.published_date | date: "%FT%T%z" }}">{{ post.published_date | date: "%Y-%m-%d"}}</time>
+          </span>
+        </a>
+      </li>
     {%- endif %}
   {%- endfor %}
-</table>
+</ul>
diff --git a/tagged/nix.liquid b/tagged/nix.liquid
index 7479c5b..c8c5aaa 100644
--- a/tagged/nix.liquid
+++ b/tagged/nix.liquid
@@ -8,14 +8,18 @@ data:
 
 <a href="/tagged/nix.xml">RSS Feed</a>
 
-<table>
+<ul class="posts-list">
   {%- for post in collections.posts.pages %}
     {%- assign postyear = post.published_date | date: "%Y" %}
     {%- if post.tags and post.tags contains "nix" -%}
-      <tr>
-        <td>{{ post.published_date | date: "%d. %b %Y"}}</td>
-        <td><a href="/{{post.permalink }}">{{post.title}}</a></td>
-      </tr>
+      <li>
+        <a href="/{{post.permalink }}">
+          <span>{{post.title}}</span>
+          <span>
+            <time datetime="{{ post.published_date | date: "%FT%T%z" }}">{{ post.published_date | date: "%Y-%m-%d"}}</time>
+          </span>
+        </a>
+      </li>
     {%- endif %}
   {%- endfor %}
-</table>
+</ul>
diff --git a/tagged/rust.liquid b/tagged/rust.liquid
index f307696..1227987 100644
--- a/tagged/rust.liquid
+++ b/tagged/rust.liquid
@@ -8,14 +8,18 @@ data:
 
 <a href="/tagged/rust.xml">RSS Feed</a>
 
-<table>
+<ul class="posts-list">
   {%- for post in collections.posts.pages %}
     {%- assign postyear = post.published_date | date: "%Y" %}
     {%- if post.tags and post.tags contains "rust" -%}
-      <tr>
-        <td>{{ post.published_date | date: "%d. %b %Y"}}</td>
-        <td><a href="/{{post.permalink }}">{{post.title}}</a></td>
-      </tr>
+      <li>
+        <a href="/{{post.permalink }}">
+          <span>{{post.title}}</span>
+          <span>
+            <time datetime="{{ post.published_date | date: "%FT%T%z" }}">{{ post.published_date | date: "%Y-%m-%d"}}</time>
+          </span>
+        </a>
+      </li>
     {%- endif %}
   {%- endfor %}
-</table>
+</ul>