by Daniel Pimentel — Thu 07 July 2016
Haunt isn't your average static site generator. Its mission is to give authors the full expressive power of Scheme to define every aspect of their websites are generated. Haunt uses a simple, functional build system that allows any type of web page to be built by writing procedures that return page objects.
(use-modules (haunt asset) (haunt builder blog) (haunt builder atom) (haunt builder assets) (haunt reader) (haunt reader skribe) (haunt reader texinfo) (haunt site)) (site #:title 'Built with Guile' #:domain 'example.com' #:default-metadata '((author . 'Eva Luator') (email . 'email@example.com')) #:readers (list texinfo-reader skribe-reader sxml-reader html-reader) #:builders (list (blog) (atom-feed) (atom-feeds-by-tag) (static-directory 'static')))