summaryrefslogtreecommitdiff
path: root/tissue.scm
blob: 08522b445dd00ceb63029e163a65f0cc66a25843 (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 "/" (string-remove-suffix ".gmi" filename))))
                          (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"))))