summaryrefslogtreecommitdiff
path: root/example/haunt.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-07-27 08:54:30 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-07-27 08:54:30 -0400
commit228932a48bbae21a0b4ef1add4e2c1bfd9d68691 (patch)
tree19fe44b454204e37652f776e1f6098fddd484637 /example/haunt.scm
parent2d82b5f2f07f5e730400857a7ef7e5cbb0dcf75a (diff)
example: Add image asset.
* example/haunt.scm: Add static directory builder. * example/images/guile-banner.small.png: New file. * example/posts/foo.sxml: Render Guile banner image.
Diffstat (limited to 'example/haunt.scm')
-rw-r--r--example/haunt.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/haunt.scm b/example/haunt.scm
index 66a8392..35c7ae2 100644
--- a/example/haunt.scm
+++ b/example/haunt.scm
@@ -3,6 +3,7 @@
(haunt asset)
(haunt builder blog)
(haunt builder atom)
+ (haunt builder assets)
(srfi srfi-19))
(site #:title "Built with Guile"
@@ -13,4 +14,5 @@
#:readers (list sxml-reader html-reader)
#:builders (list (blog)
(atom-feed)
- (atom-feeds-by-tag)))
+ (atom-feeds-by-tag)
+ (static-directory "images")))