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.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
;;; -*- scheme -*-
|
||||
|
||||
(use-modules (srfi srfi-41)
|
||||
(haunt utils))
|
||||
|
||||
@@ -19,4 +21,6 @@ posts. Here are the first "
|
||||
" fibonacci numbers, computed with SRFI-41!")
|
||||
(pre ,(object->string
|
||||
(stream->list
|
||||
(stream-take count fib)))))))
|
||||
(stream-take count fib))))
|
||||
(p "Guile Scheme is great, eh?")
|
||||
(img (@ (src "/images/guile-banner.small.png"))))))
|
||||
|
||||
Reference in New Issue
Block a user