diff options
| author | BigCoke233 <hi@guhub.cn> | 2025-12-17 15:44:21 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2025-12-17 15:44:21 +0800 |
| commit | 3ae3dbdab525bcdb12b809c007ca114840688952 (patch) | |
| tree | 0e16a83d111a92babf020c98a5f2ffa091a6301e /layouts/_partials/posts | |
| parent | af6be9b63b8939b136981a46502254518a216351 (diff) | |
feat: mutually exclusively toggle comment and webmention sections
Diffstat (limited to 'layouts/_partials/posts')
| -rw-r--r-- | layouts/_partials/posts/action-menu/comment-button.html | 1 | ||||
| -rw-r--r-- | layouts/_partials/posts/action-menu/webmention-button.html | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_partials/posts/action-menu/comment-button.html b/layouts/_partials/posts/action-menu/comment-button.html index cd6fe33b..7dcea107 100644 --- a/layouts/_partials/posts/action-menu/comment-button.html +++ b/layouts/_partials/posts/action-menu/comment-button.html @@ -3,6 +3,7 @@ "title" (T "actionMenu.comment") "icon" "/img/comments.svg" "countId" "comment-count" + "group" "action-menu-section" ) }} <script> diff --git a/layouts/_partials/posts/action-menu/webmention-button.html b/layouts/_partials/posts/action-menu/webmention-button.html index c9d3ffc7..e0940d9a 100644 --- a/layouts/_partials/posts/action-menu/webmention-button.html +++ b/layouts/_partials/posts/action-menu/webmention-button.html @@ -1,8 +1,9 @@ -{{ partial "components/toggle-button.html" (dict +{{ partial "components/toggle-button.html" (dict "id" "webmention" "title" (T "actionMenu.webmention") "icon" "/img/mention.svg" "countId" "mention-count" + "group" "action-menu-section" ) }} <script> |
