summaryrefslogtreecommitdiff
path: root/haunt.scm
diff options
context:
space:
mode:
authorHenry Webster <hwebs@hwebs.info>2026-07-20 11:34:47 -0500
committerHenry Webster <hwebs@hwebs.info>2026-07-20 11:34:47 -0500
commitd3ad45eed60a90b6ba828f500c314c60591f9151 (patch)
tree4539eaa58ea2eaaf7377e5ec4215d0f75654f299 /haunt.scm
parent4dac3c3f686760f8a84f4870f877ef4c42b34d00 (diff)
start migrating blog posts
Diffstat (limited to 'haunt.scm')
-rw-r--r--haunt.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/haunt.scm b/haunt.scm
index 4364b4d..56d89af 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -1,19 +1,31 @@
(use-modules
+ (haunt builder assets)
(haunt builder flat-pages)
(haunt builder blog)
(haunt artifact)
(haunt reader)
(haunt reader commonmark)
(haunt site)
+ (haunt post)
(theme))
+(define post-prefix "post")
+
+(define collections
+ `(("Blog" "blog/index.html" ,posts/reverse-chronological)))
+
(site #:title "hwebs"
#:domain "hwebs.info"
#:default-metadata
'((author . "Henry J. Webster")
(email . "hwebs@hwebs.info"))
#:readers (list commonmark-reader)
- #:builders (list (flat-pages #:template flat-page-template)
+ #:builders (list (blog #:theme hwebs-theme
+ #:collections collections
+ #:prefix "blog"
+ #:post-prefix post-prefix)
+ (flat-pages #:template flat-page-template)
+ (static-directory "images")
(lambda (site posts)
(list (verbatim-artifact "style.css" "style.css")))))