summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-03-30 17:16:07 +0800
committereltrac <hi@eltr.ac>2026-03-30 17:16:07 +0800
commit59e37a1e1b2fc0d76b51d35696a48f915f62193a (patch)
tree41c6005f436f9b175f6092aa582b84b752159f0f
parent334523758bb51894ddc25804576dc6d7265407e7 (diff)
refactor: move legacy comment out of webmention section
-rw-r--r--layouts/_partials/posts/webmention.html3
-rw-r--r--layouts/_partials/template/post-page.html3
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_partials/posts/webmention.html b/layouts/_partials/posts/webmention.html
index 51dfcc2d..2f9904e9 100644
--- a/layouts/_partials/posts/webmention.html
+++ b/layouts/_partials/posts/webmention.html
@@ -63,9 +63,6 @@
{{ partial "posts/webmention-replies" $replies }}
{{ partial "posts/webmention-mentions" $mentions }}
</div>
-
- <!-- kept for legacy pages -->
- {{ partial "posts/comment" $page }}
</details>
{{ else }}
<p>Unable to fetch webmentions. Please contact webmaster.</p>
diff --git a/layouts/_partials/template/post-page.html b/layouts/_partials/template/post-page.html
index 9e86a5c9..2773d37a 100644
--- a/layouts/_partials/template/post-page.html
+++ b/layouts/_partials/template/post-page.html
@@ -37,6 +37,9 @@
{{ partial "content" . }}
{{ partial "posts/webmention" . }}
+ <!-- kept for legacy pages -->
+ {{ partial "posts/comment" . }}
+
{{ partial "components/back-to-top" . }}
{{ partial "components/microformats" . }}
</article>