summaryrefslogtreecommitdiff
path: root/tissue.scm
blob: fccbf9da416987db65a7a88c998d6bf73d32bf1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(tissue-configuration
 #:project "tissue"
 #:indexed-documents (map (lambda (filename)
                            (indexed-document (cut read-gemtext-issue filename)
                                              (string-append "/" (replace-extension filename "html"))))
                          (gemtext-files-in-directory "issues"))
 #:web-files (cons (file "index.html"
                         (skribe-exporter "website/index.skb"))
                   (filter-map (lambda (filename)
                                 (file (replace-extension filename "html")
                                       (gemtext-exporter filename)))
                               (gemtext-files-in-directory "issues"))))