From 0d7dbb395c3bc166f0a6db6d3167531facef62fc Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 20 Nov 2022 14:03:31 -0500 Subject: [dynamic] Resolve grievances with dynamic comment form --- haunt/jakob/builder/blog.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'haunt/jakob/builder') diff --git a/haunt/jakob/builder/blog.scm b/haunt/jakob/builder/blog.scm index ba8a5ee..cef3b69 100644 --- a/haunt/jakob/builder/blog.scm +++ b/haunt/jakob/builder/blog.scm @@ -77,9 +77,12 @@ (ul (@ (id "webmention-container")) ;; ,@(render-comment-view (fetch-webmentions (post-identifier post)))) ,@(render-comment-view (fetch-comments (post-identifier post)))) - (div (@ (id "dynamic-comment-form-insert") (hidden #t)) - ,(render-comment-form (post-identifier post) #:header-level 'h3)) - (p "Click " ,(hyperlink (build-comment-url post) "here") " to write a comment on this post.") + + (div (@ (id "comment-form-primary") (hidden #t)) + ,(render-dynamic-comment-form (post-identifier post))) + (p (@ (id "comment-form-alt")) + "Click " ,(hyperlink (build-comment-url post) "here") " to write a comment on this post.") + (form (@ (id "webmention-form") (action "https://webmention.io/jakob.space/webmention") -- cgit v1.3