From b1e7decf2b962a98e19eca618bb56f0c65c2a14d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 1 Mar 2024 09:02:34 +0100 Subject: Add script to easily publish haunt HTML files in WordPress. There is still many things to do before we could replace the WordPress blog with Haunt. For instance we didn't import the WordPress comments yet, and viewers also don't have any way of commenting. We also need to add a Replicant logo, and probably improve a bit the code and documentation. Because of all that, and also because working directly on markdown files with git makes the work faster, easier, and easier to review, having a way to add back markdown files inside WordPress is a good idea. Some markdown plugins for WordPress do exist but it was probably faster to write some scripts to generate HTML that WordPress can accept than reviewing these plugins for licensing and suitability. Signed-off-by: Denis 'GNUtoo' Carikli --- website/builders/replicant-blog.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/builders/replicant-blog.scm') diff --git a/website/builders/replicant-blog.scm b/website/builders/replicant-blog.scm index cab758c..be15bcd 100644 --- a/website/builders/replicant-blog.scm +++ b/website/builders/replicant-blog.scm @@ -68,7 +68,7 @@ (define (replicant-default-post-template post) `((h1 (@ (id "title")) ,(post-ref post 'title)) - (div ,(post-sxml post)))) + (div (@ (id "post-content")) ,(post-sxml post)))) (define (replicant-default-collection-template site title posts prefix) (define (post-uri post) -- cgit v1.2.3