summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-02-05 17:54:26 +0800
committerBigCoke233 <hi@guhub.cn>2026-02-05 17:54:26 +0800
commitc0355288acccad197e14cbe63d1d7a4802383b36 (patch)
tree3872f5c8c0d2adbb59ea8b0c99cbc2d86a35684c
parent1ae65c9b008f8cea44a51e611850a8ec0ac23d36 (diff)
feat: sort webmention replies from old to new
-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 9084b84a..62728fa8 100644
--- a/layouts/_partials/posts/webmention-replies.html
+++ b/layouts/_partials/posts/webmention-replies.html
@@ -1,6 +1,6 @@
{{ with . }}
<section>
-{{ range . }}
+{{ range sort . "received" }}
<div>
<div class="flex items-center gap-3">
<img src="{{ .author.photo }}" alt="Profile Picture"