From 147693dc7e499de833b3e63312b105e60cdcd9f3 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sat, 31 Jan 2026 01:21:53 +0800 Subject: feat: add interaction panel - open toot link from user's instance - send webmention from input this commit was vibe coded and needs more work before publishing to production --- layouts/_partials/posts/webmention-likes.html | 72 +++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 3 deletions(-) diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html index 7169a655..46314842 100644 --- a/layouts/_partials/posts/webmention-likes.html +++ b/layouts/_partials/posts/webmention-likes.html @@ -1,9 +1,35 @@ -{{ with . }} +{{ $likes := .likes }} +{{ $page := .page }} +{{ with $likes }}
-
- +
+
+
+ + {{ range . }} {{ $value := math.Floor (mul math.Rand 80) }} @@ -16,5 +42,45 @@

{{ printf (T "webmention.likedBy") (len . ) }}

+ + {{ end }} -- cgit v1.2.3