summaryrefslogtreecommitdiff
path: root/example/haunt.scm
blob: bcb58fd9c62772bee6c4e846b970978e170c5365 (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
(use-modules (haunt asset)
             (haunt builder blog)
             (haunt builder atom)
             (haunt builder assets)
             (haunt builder flat-pages)
             (haunt builder rss)
             (haunt publisher rsync)
             (haunt publisher sourcehut)
             (haunt reader)
             (haunt reader skribe)
             (haunt reader texinfo)
             (haunt reader commonmark)
             (haunt site))

(site #:title "Built with Guile"
      #:domain "example.com"
      #:default-metadata
      '((author . "Eva Luator")
        (email  . "eva@example.com"))
      #:readers (list commonmark-reader texinfo-reader skribe-reader sxml-reader html-reader)
      #:builders (list (blog)
                       (atom-feed)
                       (atom-feeds-by-tag)
                       (rss-feed)
                       (flat-pages)
                       (static-directory "images"))
      #:publishers (list (rsync-publisher #:name 'rsync
                                          #:destination "/tmp/haunt-example")
                         (sourcehut-publisher #:name 'sourcehut)))