diff options
Diffstat (limited to 'tissue.scm')
-rw-r--r-- | tissue.scm | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -33,12 +33,14 @@ ("jgart") ("Zachary Sloan" "zach" "zachs" "zsloan")) #:indexed-documents (append (map (lambda (filename) - (indexed-document (cut read-gemtext-issue filename) - (string-append "/" (replace-extension filename "html")))) + (slot-set (read-gemtext-issue filename) + 'web-uri + (string-append "/" (string-remove-suffix ".gmi" filename)))) (gemtext-files-in-directory "issues")) (map (lambda (filename) - (indexed-document (cut read-gemtext-document filename) - (string-append "/" (replace-extension filename "html")))) + (slot-set (read-gemtext-document filename) + 'web-uri + (string-append "/" (string-remove-suffix ".gmi" filename)))) (gemtext-files-in-directory "topics"))) #:web-css "/style.css" #:web-files (cons* (file "style.css" |