aboutsummaryrefslogtreecommitdiff
path: root/haunt/haunt.scm
diff options
context:
space:
mode:
authorJakob L. Kreuze2024-06-16 15:01:34 -0400
committerJakob L. Kreuze2024-06-16 15:01:34 -0400
commit825c7e43fa91ffcdd8e5a464e9491958266eb00b (patch)
tree13371bdb2be7514594f79ccd0b25faaeacf8295f /haunt/haunt.scm
parent0091197a26fee5ff82e136bbaeb0d8603402bedd (diff)
Use the built-in `sxml-reader' from Haunt
Diffstat (limited to 'haunt/haunt.scm')
-rw-r--r--haunt/haunt.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/haunt/haunt.scm b/haunt/haunt.scm
index 937549c..f03111d 100644
--- a/haunt/haunt.scm
+++ b/haunt/haunt.scm
@@ -17,6 +17,7 @@
(use-modules (haunt builder assets)
(haunt builder flat-pages)
(haunt post)
+ (haunt reader)
(haunt site)
(jakob builder atom)
(jakob builder blog)
@@ -24,7 +25,7 @@
(jakob builder htaccess)
(jakob builder outbox)
(jakob reader html-prime)
- (jakob reader sxml)
+ (jakob theme)
(srfi srfi-19)
(srfi srfi-26))
@@ -56,7 +57,7 @@
(500 . "/pages/status-500.html")))
(outbox)
(flat-pages "pages"
- #:template (lambda (_site _title content)
- content)
+ #:template (lambda (_site title content)
+ (theme #:title title #:content content))
#:prefix "pages/")
(static-directory "static")))

© 2015 - 2026 Jakob L. Kreuze