3592829387367d54dcc4dc1c5cd4862586cc705d
* haunt/post.scm (%default-date): New variable. (post-date): New procedure. * haunt/builder/atom.scm (post->atom-entry): Use post-date. * README.md (Example Configuration): Remove date from default metadata.
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)
(srfi srfi-19))
(site #:title "Built with Guile"
#:domain "dthompson.us"
#:default-metadata
'((author . "David Thompson")
(email . "davet@gnu.org"))
#: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%