From 16875af62740fbc217491042dd34bae890c7b3cc Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 6 Apr 2024 09:52:17 +0300 Subject: Improvements, add unfold.js --- feed.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'feed.scm') diff --git a/feed.scm b/feed.scm index 4add4f8..c90bd11 100644 --- a/feed.scm +++ b/feed.scm @@ -86,16 +86,19 @@ (define link (pipe path (@ replace (format "^~A\\/?" src-dir) "/") (@ replace "\\.md$" ""))) - (format "* [~A (~A) [~A]](~A)" title date kind link)) + (format "
  • ~A[~A] (~A)
  • " + link title kind date)) (define index-lis (map to-li fm-sorted)) (define out-md (string-append "---\n" - "title: Archive\n" + "title: archive – jan's garden\n" "hide-body-title: defined\n" "---\n" "# Archive\n\n" "Follow via [RSS](/feed.xml) ([Huh?](https://aboutfeeds.com/))\n\n" - (string-join index-lis "\n"))) + (string-append ""))) (with-output-to-file (make-pathname archive-dir "index.md") (λ () (print out-md)))) -- cgit v1.3