summaryrefslogtreecommitdiff
path: root/tissue/web.scm
diff options
context:
space:
mode:
authorArun Isaac2022-03-17 17:00:08 +0530
committerArun Isaac2022-03-18 16:24:01 +0530
commit15e9daaac9af2b2ed6dc34979dd43ab4e172bb72 (patch)
treefc7ea1637601cf20e35188a8b9856443931d2154 /tissue/web.scm
parent50898532c81654d834b1070b49d05c46e378a455 (diff)
downloadtissue-15e9daaac9af2b2ed6dc34979dd43ab4e172bb72.tar.gz
tissue-15e9daaac9af2b2ed6dc34979dd43ab4e172bb72.tar.lz
tissue-15e9daaac9af2b2ed6dc34979dd43ab4e172bb72.zip
issue: Record all commits affecting a file, not just how many.
* tissue/issue.scm (<post>): New record type. (file-details): Record all commits affecting a file, not just how many. * bin/tissue (print-issue, print-issue-to-gemtext): Apply length on the output of issue-posts before use. * tissue/web.scm (issue-list-item-markup-writer-action): Apply length on posts before use.
Diffstat (limited to 'tissue/web.scm')
-rw-r--r--tissue/web.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tissue/web.scm b/tissue/web.scm
index fa804a4..f06f58d 100644
--- a/tissue/web.scm
+++ b/tissue/web.scm
@@ -150,7 +150,8 @@ NEW-EXTENSION."
(format " opened ~a by ~a"
(markup-option markup #:created-relative-date)
(markup-option markup #:creator))
- (if (> (markup-option markup #:posts) 1)
+ (if (> (length (markup-option markup #:posts))
+ 1)
(format ", last updated ~a by ~a"
(markup-option markup #:last-updated-relative-date)
(markup-option markup #:last-updater))