summaryrefslogtreecommitdiff
path: root/haunt.scm
diff options
context:
space:
mode:
Diffstat (limited to 'haunt.scm')
-rw-r--r--haunt.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/haunt.scm b/haunt.scm
index 0611a07..3ec517a 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -51,15 +51,13 @@
(list (atom-feed #:max-entries 1024)
(blog)
(blogroll)
- (htaccess #:error-documents '((400 . "/pages/status-400.html")
- (403 . "/pages/status-403.html")
- (404 . "/pages/status-404.html")
- (429 . "/pages/status-429.html")
- (500 . "/pages/status-500.html")))
(outbox)
(flat-pages "pages"
#:template (lambda (_site title content)
- (theme #:title title #:content content))
+ (let ((content `(div (@ (data-pagefind-body #t))
+ ,@content)))
+ (theme #:title title #:content content)))
#:prefix "pages/")
(static-directory "static")
- (static-directory "posts-assets" "blog")))
+ (static-directory "posts-assets" "blog")
+ (static-directory "pages-assets" "pages")))