diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2024-07-26 15:50:09 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2024-07-26 15:50:09 -0400 |
| commit | 69c9162595a267425258e415b12ed472a9160b5e (patch) | |
| tree | 550afa147e18336c86fffce9fbed46d38488cde8 /haunt.scm | |
| parent | 659ef8ebccb97eecede22c5e43d9f9bb3f35bdee (diff) | |
Use org-mode reader for pages
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"))) |