summaryrefslogtreecommitdiff
path: root/tissue.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tissue.scm')
-rw-r--r--tissue.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/tissue.scm b/tissue.scm
index 69dba6f..8bef7e7 100644
--- a/tissue.scm
+++ b/tissue.scm
@@ -1,10 +1,16 @@
(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"))
+ #:indexed-documents (append (map (lambda (filename)
+ (slot-set (read-gemtext-issue filename)
+ 'web-uri
+ (string-append "/" (string-remove-suffix ".gmi" filename))))
+ (gemtext-files-in-directory "issues"))
+ (map (lambda (commit)
+ (slot-set commit
+ 'web-uri
+ (string-append "https://git.systemreboot.net/tissue/commit/?id="
+ (commit-hash commit))))
+ (commits-in-current-repository)))
#:web-files (cons (file "index.html"
(skribe-exporter "website/index.skb"))
(filter-map (lambda (filename)