summaryrefslogtreecommitdiff
path: root/tissue.scm
blob: 69dba6ff9d74db09c019ad468dc14dd820a7ecb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(tissue-configuration
 #:project "tissue"
 #:indexed-documents (map (lambda (filename)
                            (slot-set (read-gemtext-issue filename)
                                      'web-uri
                                      (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"))))