From 6e7c6c2fc67c3022e0313f53b2e3ce714bec92d8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 6 Apr 2022 14:33:30 +0530 Subject: tissue: Add #:web-files. * tissue.scm (#:web-files): New setting. --- tissue.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'tissue.scm') diff --git a/tissue.scm b/tissue.scm index 6e158c6..25fc2dc 100644 --- a/tissue.scm +++ b/tissue.scm @@ -13,4 +13,19 @@ ("acenteno") ("jgart") ("zsloan")) - #:web-css "/style.css") + #:web-css "/style.css" + #:web-files (cons* (file "style.css" + (copier "style.css")) + (file "index.html" + (skribe-exporter "index.skb")) + (file "team.html" + (skribe-exporter "team.skb")) + (append (tag-pages) + (filter-map (lambda (filename) + (and (string-suffix? ".gmi" filename) + (not (string=? (basename filename) + "README.gmi")) + (file (replace-extension filename "html") + (gemtext-exporter filename + (gemtext-reader))))) + (git-tracked-files))))) -- cgit v1.2.3