Go to file
David Thompson 1f1784f9f1 Add static asset support.
* haunt/asset.scm: New file.
* Makefile.am (SOURCES): Add it.
* haunt/site.scm (build-site): Add support for assets.
* haunt/utils.scm (file-name-components, join-file-name-components): New
  procedures.
2015-04-13 21:59:29 -04:00
example example: Remove personal details. 2015-04-13 20:29:00 -04:00
haunt Add static asset support. 2015-04-13 21:59:29 -04:00
scripts First commit. 2015-01-04 20:02:16 -05:00
.gitignore Add example site. 2015-04-13 19:53:39 -04:00
COPYING First commit. 2015-01-04 20:02:16 -05:00
Makefile.am Add static asset support. 2015-04-13 21:59:29 -04:00
README.md README: Remove personal details from example configuration. 2015-04-13 20:23:28 -04:00
configure.ac ui: Display version information. 2015-01-04 22:50:01 -05:00
pre-inst-env.in First commit. 2015-01-04 20:02:16 -05:00

README.md

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