From 260fa849e3f7e3d023adadaa95ee73a48ef5e3d7 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 14 Jun 2022 14:51:29 +0530 Subject: List closed issues on a separate page. * closed.skb: New file. * index.skb: Link to closed.html instead of listing closed issues. * tissue.scm (#:web-files): Add closed.html. --- index.skb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'index.skb') diff --git a/index.skb b/index.skb index 5c283c5..0651cab 100644 --- a/index.skb +++ b/index.skb @@ -58,5 +58,11 @@ to it." (not (forgotten-issue? issue)) (not (unanswered-issue? issue)))) (issues))) - (numbered-issue-listing "~a closed issues" - (remove issue-open? (issues)))) + (ref :url "/closed.html" + :text (format "~a closed issues" + (fold (lambda (issue result) + (if (issue-open? issue) + result + (1+ result))) + 0 + (issues))))) -- cgit v1.2.3