summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-10 15:24:55 +0800
committereltrac <hi@eltr.ac>2026-04-10 15:25:08 +0800
commit232714f3a67680dacddf95f31965974538623b8a (patch)
treebb582f7c5a27faa1a00c390695a9f7c1c0b360ca /layouts
parent4c681fd652bdcb67c653a6faa4f50f97e805c2b1 (diff)
feat: sort webmention replies chronologically
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/posts/webmention-replies.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention-replies.html b/layouts/_partials/posts/webmention-replies.html
index f6e8fea..24ef4f0 100644
--- a/layouts/_partials/posts/webmention-replies.html
+++ b/layouts/_partials/posts/webmention-replies.html
@@ -1,6 +1,6 @@
{{ with . }}
<section class="flex flex-col gap-4 bg-[var(--background-color)]">
- {{ range . }}
+ {{ range sort . ".microformats.published" }}
{{ $mf := .microformats }}
{{ $author := $mf.author }}
<div class="relative">