(define-module (operationnull site) #:use-module (haunt builder assets) #:use-module (haunt builder atom) #:use-module (haunt builder blog) #:use-module (haunt html) #:use-module (haunt post) #:use-module (haunt reader) #:use-module (haunt reader commonmark) #:use-module (haunt site) #:use-module (operationnull pages) #:use-module (operationnull static) #:use-module (operationnull theme) #:export (main-site)) (define %blog-collection `(("Recent Posts" "/posts/index.html" ,posts/reverse-chronological))) (define main-site (site #:title "operationnull" #:domain "operationnull.com" #:posts-directory "content/posts" #:build-directory "target" #:default-metadata '((author . "bdunahu")) #:readers (list commonmark-reader) #:builders (list (static-page index-content "index.html" "home") (static-page contact-content "/contact.html" "contact") (blog #:theme main-theme #:prefix "/posts/" #:collections %blog-collection) (static-page e404 "/404.html" "404 Error") (static-page gold-content "/gold.html" "More Worthless than Gold") (atom-feed #:file-name "atom.xml" #:subtitle "Recent Posts") ;; (atom-feeds-by-tag) (static-directory "content/assets" "assets"))))