summaryrefslogtreecommitdiff
path: root/example/haunt.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-04-13 19:53:39 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-04-13 19:53:39 -0400
commitfdb70223a709e4a523f8503142b05e94029b7790 (patch)
tree4841d6de0f841d56c1061e1a5bf3a22670a1b484 /example/haunt.scm
parent913c6bed6f7e8ae12b6881584698f29a698431c4 (diff)
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.
Diffstat (limited to 'example/haunt.scm')
-rw-r--r--example/haunt.scm15
1 files changed, 15 insertions, 0 deletions
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)))