summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-31 12:53:13 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-31 12:53:13 +0800
commit99cf81d7a9b42da1b3b147ce64512085c5e7ae5a (patch)
tree005fad3b5fb937d97d416bac3198cb0d4eaf3cd6
parent8f7a9bbcabd85150aa71173799b40dad09aae075 (diff)
fix: align webmention likes with interact button
Former-commit-id: 5193845f6d2042b99c4f84febbf8cb95c87f2db2
-rw-r--r--layouts/_partials/posts/webmention-likes.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/webmention-likes.html b/layouts/_partials/posts/webmention-likes.html
index df43e0e6..4d8131c2 100644
--- a/layouts/_partials/posts/webmention-likes.html
+++ b/layouts/_partials/posts/webmention-likes.html
@@ -15,7 +15,7 @@
<p class="text-sm text-secondary m-0 mt-2"><a href="mailto:hi@eltr.ac?subject=Re%3A%20{{ $page.Title }}">📧 {{ T "actionMenu.email" }}</a></p>
</div>
{{ range $likes }}
- <a href="{{ .author.url }}" target="_blank" title="{{ .author.name }}">
+ <a href="{{ .author.url }}" target="_blank" title="{{ .author.name }}" class="inline-flex items-center">
{{ $value := math.Floor (mul math.Rand 80) }}
{{ $rotate := cond (lt $value 40) (sub 10 $value) (sub $value 30) }}
<img src="{{ .author.photo }}" alt="Profile Picture"