From e318ded5997b0d644b9b0ead36909feb1427b037 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 8 Jul 2022 16:14:19 +0530 Subject: tissue.scm: Remove html extension from web URIs. * tissue.scm (#:indexed-documents): Remove html extension from web URIs. --- tissue.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tissue.scm') diff --git a/tissue.scm b/tissue.scm index 65df566..7d0291d 100644 --- a/tissue.scm +++ b/tissue.scm @@ -34,11 +34,11 @@ ("Zachary Sloan" "zach" "zachs" "zsloan")) #:indexed-documents (append (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")) (map (lambda (filename) (indexed-document (cut read-gemtext-document filename) - (string-append "/" (replace-extension filename "html")))) + (string-append "/" (string-remove-suffix ".gmi" filename)))) (gemtext-files-in-directory "topics"))) #:web-css "/style.css" #:web-files (cons* (file "style.css" -- cgit v1.2.3