diff options
-rw-r--r-- | index.skb | 2 | ||||
-rw-r--r-- | tissue.scm | 2 | ||||
-rw-r--r-- | topics.skb | 14 |
3 files changed, 18 insertions, 0 deletions
@@ -33,6 +33,8 @@ to it." (document :title "GeneNetwork issue tracker" (ref :url "team.html" :text "Team agenda view") + " | " + (ref :url "topics.html" :text "Topics") (numbered-issue-listing "~a unanswered issues" (filter (lambda (issue) (and (issue-open? issue) @@ -43,6 +43,8 @@ (skribe-exporter "index.skb")) (file "team.html" (skribe-exporter "team.skb")) + (file "topics.html" + (skribe-exporter "topics.skb")) (append (tag-pages) (filter-map (lambda (filename) (and (string-suffix? ".gmi" filename) diff --git a/topics.skb b/topics.skb new file mode 100644 index 0000000..cd3c053 --- /dev/null +++ b/topics.skb @@ -0,0 +1,14 @@ +(use-modules (rnrs hashtables) + (tissue tissue)) + +;; Steal file-details from (tissue issue) until there is a public +;; interface for it. +(define file-details + (@@ (tissue issue) file-details)) + +(document :title "Topics" + (itemize (filter-map (lambda (file) + (let ((file-details (file-details file))) + (item (ref :url (replace-extension file "html") + :text (hashtable-ref file-details 'title file))))) + (gemtext-files-in-directory "topics")))) |