-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
haunt.scm
34 lines (31 loc) · 974 Bytes
/
haunt.scm
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
32
33
34
(use-modules (haunt asset)
(haunt site)
(haunt html)
(haunt page)
(haunt reader)
(haunt builder assets)
(haunt builder blog)
(haunt builder atom)
(haunt reader skribe))
(define (default-layout site title body)
`((doctype "html")
(html (@ (lang "en"))
(head
(meta (@ (charset "utf-8")))
(meta (@ (name "viewport") (content "width=device-width,initial-scale=1")))
(title ,(string-append title " - " (site-title site))))
(body
,body))))
(define default-theme
(theme #:name "Default"
#:layout default-layout))
(site #:title "Athena CPU"
#:domain "athena.d0p1.eu"
#:default-metadata
'((author . "d0p1")
(email . "[email protected]"))
#:readers (list skribe-reader)
#:builders (list (blog #:theme default-theme)
(static-directory "assets")
(atom-feed)
(atom-feeds-by-tag)))