-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhaunt.scm
More file actions
30 lines (26 loc) · 935 Bytes
/
haunt.scm
File metadata and controls
30 lines (26 loc) · 935 Bytes
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
(use-modules (haunt asset)
(haunt builder blog)
(haunt builder atom)
(haunt builder assets)
(haunt reader commonmark)
(haunt site)
(haunt post)
(pages index)
(theme))
(define %blog-collection
`(("Recent Posts" "/blog/index.html" ,posts/reverse-chronological)))
(site #:title "Guilherme Torquato"
#:domain "trqt.github.io"
#:default-metadata
'((author . "me")
(email . "me@uol.br"))
#:make-slug post-slug-v2
#:readers (list commonmark-reader)
#:builders (list (blog #:theme trqt-theme
#:prefix "/blog"
#:collections %blog-collection)
index-page
(atom-feed)
(atom-feeds-by-tag)
;(static-directory "images")
))