blob: 56d89afc1ff194b5670d496545362732dd2d8783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
(use-modules
(haunt builder assets)
(haunt builder flat-pages)
(haunt builder blog)
(haunt artifact)
(haunt reader)
(haunt reader commonmark)
(haunt site)
(haunt post)
(theme))
(define post-prefix "post")
(define collections
`(("Blog" "blog/index.html" ,posts/reverse-chronological)))
(site #:title "hwebs"
#:domain "hwebs.info"
#:default-metadata
'((author . "Henry J. Webster")
(email . "hwebs@hwebs.info"))
#:readers (list commonmark-reader)
#:builders (list (blog #:theme hwebs-theme
#:collections collections
#:prefix "blog"
#:post-prefix post-prefix)
(flat-pages #:template flat-page-template)
(static-directory "images")
(lambda (site posts)
(list (verbatim-artifact "style.css" "style.css")))))
|