From 5d1cc82beeb4fff39d577155e89576bb41da003a Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 13 Oct 2025 09:17:57 +0800 Subject: refactor: move comment section to a modular partial Former-commit-id: 91fd13228da54baa8f6145efe8e81f7ce8e893d3 --- layouts/_partials/posts/action-menu.html | 8 +------- layouts/_partials/posts/action-menu/comment-section.html | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 layouts/_partials/posts/action-menu/comment-section.html (limited to 'layouts/_partials') diff --git a/layouts/_partials/posts/action-menu.html b/layouts/_partials/posts/action-menu.html index fed2def8..ae19873a 100644 --- a/layouts/_partials/posts/action-menu.html +++ b/layouts/_partials/posts/action-menu.html @@ -8,11 +8,5 @@ {{ partial "posts/action-menu/info-links" . }} - - -
- -
+ {{ partial "posts/action-menu/comment-section" . }} diff --git a/layouts/_partials/posts/action-menu/comment-section.html b/layouts/_partials/posts/action-menu/comment-section.html new file mode 100644 index 00000000..be99487a --- /dev/null +++ b/layouts/_partials/posts/action-menu/comment-section.html @@ -0,0 +1,8 @@ + + + +
+ +
-- cgit v1.2.3