From 228932a48bbae21a0b4ef1add4e2c1bfd9d68691 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 27 Jul 2015 08:54:30 -0400 Subject: 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. --- example/haunt.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example/haunt.scm') 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"))) -- cgit v1.2.3