From fdb70223a709e4a523f8503142b05e94029b7790 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 13 Apr 2015 19:53:39 -0400 Subject: Add example site. * .gitignore: Ignore example build artifacts. * example/haunt.scm: New file. * example/posts/foo.sxml: New file. * example/posts/bar.html: New file. --- example/haunt.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 example/haunt.scm (limited to 'example/haunt.scm') diff --git a/example/haunt.scm b/example/haunt.scm new file mode 100644 index 0000000..b4405c0 --- /dev/null +++ b/example/haunt.scm @@ -0,0 +1,15 @@ +(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))) -- cgit v1.2.3