summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-31 10:19:50 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-31 10:19:50 +0800
commit75b50357fbb49cce89f69779ed0953cd1cfb83c5 (patch)
tree66f720e9d5f21c635011e31930ba454e074d1cc0 /layouts
parent84849021bc20d28a68c08969ea3adba530873058 (diff)
fix: page context no accessible in webmention-likes
Former-commit-id: a3e348318dd1f2b95032d178034f574740b7e6b9
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/posts/action-menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/action-menu.html b/layouts/_partials/posts/action-menu.html
index afab7663..c6c2abfc 100644
--- a/layouts/_partials/posts/action-menu.html
+++ b/layouts/_partials/posts/action-menu.html
@@ -15,7 +15,7 @@
{{ end }}
<div id="action-menu" class="my-4 mb-5">
- {{ partial "posts/webmention-likes" $likes }}
+ {{ partial "posts/webmention-likes" (dict "likes" $likes "page" .) }}
{{ partial "posts/webmention-replies" $replies }}
{{ partial "posts/webmention-mentions" $mentions }}