diff options
Diffstat (limited to 'haunt.scm')
| -rw-r--r-- | haunt.scm | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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"))) |