summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-10 15:24:55 +0800
committereltrac <hi@eltr.ac>2026-04-10 15:24:55 +0800
commit6a4213156bd05ccd4135aaff0a79882935643c95 (patch)
treebb582f7c5a27faa1a00c390695a9f7c1c0b360ca
parent4c681fd652bdcb67c653a6faa4f50f97e805c2b1 (diff)
feat: sort webmention replies with published date
-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">