summaryrefslogtreecommitdiff
path: root/example/haunt.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-12 19:32:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-12 20:22:28 -0400
commit1ddcff389d1cf42f90f883ea0b9db668182b3bda (patch)
tree931eddcb78359db65634455a5ac90b9cfdff7d71 /example/haunt.scm
parentec79e5ad1f9614038575989e96e9f5c075a33efe (diff)
Add support for Skribe document format.
* haunt/skribe.scm: New file. * haunt/skribe/utils.scm: New file. * haunt/reader/skribe.scm: New file. * configure.ac: Check for guile-reader. * Makefile.am (SOURCES): Add Skribe modules when guile-reader is available. * example/haunt.scm: Include Skribe reader. * example/posts/baz.skr: New file. * README.md ("Requirements"): Mention guile-reader as optional dependency.
Diffstat (limited to 'example/haunt.scm')
-rw-r--r--example/haunt.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/example/haunt.scm b/example/haunt.scm
index b292c9c..4095f87 100644
--- a/example/haunt.scm
+++ b/example/haunt.scm
@@ -1,16 +1,17 @@
-(use-modules (haunt site)
- (haunt reader)
- (haunt asset)
+(use-modules (haunt asset)
(haunt builder blog)
(haunt builder atom)
- (haunt builder assets))
+ (haunt builder assets)
+ (haunt reader)
+ (haunt reader skribe)
+ (haunt site))
(site #:title "Built with Guile"
#:domain "example.com"
#:default-metadata
'((author . "Eva Luator")
(email . "eva@example.com"))
- #:readers (list sxml-reader html-reader)
+ #:readers (list skribe-reader sxml-reader html-reader)
#:builders (list (blog)
(atom-feed)
(atom-feeds-by-tag)