From ac7e545ff95f33c906481da27b460d86e841280a Mon Sep 17 00:00:00 2001 From: eltrac Date: Tue, 17 Feb 2026 19:21:17 +0800 Subject: feat: better webmention likes style --- layouts/_partials/posts/webmention-likes.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html index 2c23c67f..54fcef4a 100644 --- a/layouts/_partials/posts/webmention-likes.html +++ b/layouts/_partials/posts/webmention-likes.html @@ -2,9 +2,9 @@ {{ $page := .page }} {{ $othercount := .othercount }} -
-
- @@ -21,8 +21,10 @@ {{ end }}
+ + {{ range $likes }} - + {{ $value := math.Floor (mul math.Rand 80) }} {{ $rotate := cond (lt $value 40) (sub 10 $value) (sub $value 30) }} Profile Picture {{ end }} - -

+

{{ printf (T "webmention.likedBy") (len $likes ) }} {{ if gt $othercount 0 }} {{ printf (T "webmention.repliedAndMentionedBy") $othercount }} {{ end }} -

+
+
-- cgit v1.2.3