diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-03-01 09:02:34 +0100 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2025-06-15 01:30:22 +0200 |
| commit | b1e7decf2b962a98e19eca618bb56f0c65c2a14d (patch) | |
| tree | 568f65e524c958f3f14a93e2daee5ee39363b2df /website/builders/replicant-blog.scm | |
| parent | 0b14c9b91c041f1efd8699a9160f47fd1e7435cb (diff) | |
| download | haunt-blog-b1e7decf2b962a98e19eca618bb56f0c65c2a14d.tar.gz haunt-blog-b1e7decf2b962a98e19eca618bb56f0c65c2a14d.tar.bz2 haunt-blog-b1e7decf2b962a98e19eca618bb56f0c65c2a14d.zip | |
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'website/builders/replicant-blog.scm')
| -rw-r--r-- | website/builders/replicant-blog.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
