diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-31 10:19:50 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-31 10:19:50 +0800 |
| commit | a3e348318dd1f2b95032d178034f574740b7e6b9 (patch) | |
| tree | db6e7b41545c345da49dd2e16d87b76aff318e4a | |
| parent | 147693dc7e499de833b3e63312b105e60cdcd9f3 (diff) | |
fix: page context no accessible in webmention-likes
| -rw-r--r-- | layouts/_partials/posts/action-menu.html | 2 |
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 }} |
