summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-07-08 15:53:38 +0530
committerArun Isaac2022-07-08 16:12:08 +0530
commit4a39e49241c57f5f44ea298d022cdaa812ef42f7 (patch)
tree720c7c4128d71502fcf8098919c0248175694cb7
parent20853b93fc679c455d1dab0963b59557f30360c6 (diff)
downloadtissue-4a39e49241c57f5f44ea298d022cdaa812ef42f7.tar.gz
tissue-4a39e49241c57f5f44ea298d022cdaa812ef42f7.tar.lz
tissue-4a39e49241c57f5f44ea298d022cdaa812ef42f7.zip
tissue.scm: Remove html extension from web URIs.
* tissue.scm (#:indexed-documents): Remove html extension from web URIs.
-rw-r--r--tissue.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tissue.scm b/tissue.scm
index fccbf9d..08522b4 100644
--- a/tissue.scm
+++ b/tissue.scm
@@ -2,7 +2,7 @@
#:project "tissue"
#:indexed-documents (map (lambda (filename)
(indexed-document (cut read-gemtext-issue filename)
- (string-append "/" (replace-extension filename "html"))))
+ (string-append "/" (string-remove-suffix ".gmi" filename))))
(gemtext-files-in-directory "issues"))
#:web-files (cons (file "index.html"
(skribe-exporter "website/index.skb"))