From 849013a6d2ae99ea1b088298b8f2067818b7404d Mon Sep 17 00:00:00 2001
From: Case Duckworth
Date: Tue, 24 May 2022 17:16:49 -0500
Subject: Generate a feed

---
 tmpl.index.htm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'tmpl.index.htm')

diff --git a/tmpl.index.htm b/tmpl.index.htm
index 427be53..9dd605b 100644
--- a/tmpl.index.htm
+++ b/tmpl.index.htm
@@ -9,7 +9,11 @@ $(sed 's#$(title)#acdw.casa#' _head.htm)
     <section id="pages">
         <h2>pages here</h2>
         <ul>
-            $(for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done)
+            $(: > .tmp/index-list;
+            for p in .tmp/*.env; do date() { echo "2022-05-01"; }; title() { :; }; . "$p";
+            print "<li><!-- $(date) --><a href=\"$HTOUT\">$(title)</a></li>" \
+            >> .tmp/index-list; done)
+            $(sort -r .tmp/index-list)
         </ul>
     </section>
 </main>
-- 
cgit 1.4.1-21-gabe81