5a0c70f14562a4a217a68d3f951fcfe0b9a54d31
* haunt/builder/blog.scm (<theme>): New record type. (theme, theme?, theme-name, theme-layout, theme-post-layout, theme-list-template, with-layout, render-post, render-list, date->string*): New procedures. (ugly-theme): Redefine as <theme>. (blog): Use <theme> object.
Haunt
About
Haunt is a static site generator written in Guile Scheme. It's simple, functional, and extensible.
Features
- Easy blog and Atom feed generation
- Supports any markup language that can be parsed to SXML
- Simple development server
- Purely functional build process
- User extensible
Example Configuration
(use-modules (haunt site)
(haunt reader)
(haunt builder blog)
(haunt builder atom))
(site #:title "Built with Guile"
#:domain "example.com"
#:default-metadata
'((author . "Eva Luator")
(email . "eva@example.com"))
#:readers (list sxml-reader html-reader)
#:builders (list (blog)
(atom-feed)
(atom-feeds-by-tag)))
Usage
Write a configuration file named haunt.scm. Add your posts to a
directory named posts. Then run haunt build!
To view your creation, run haunt serve and browse to
localhost:8080.
License
GNU GPLv3 or later
Description
Languages
Scheme
83.8%
CSS
8.7%
Makefile
3.7%
Shell
1.5%
JavaScript
0.9%
Other
1.4%