about summary refs log tree commit diff stats
path: root/tmpl.index.htm
diff options
context:
space:
mode:
authorCase Duckworth2022-05-24 17:16:49 -0500
committerCase Duckworth2022-05-24 17:16:49 -0500
commit849013a6d2ae99ea1b088298b8f2067818b7404d (patch)
treeec3b58022c90b82425e855fd3c8f864f2671071d /tmpl.index.htm
parentUse rsync -u to avoid .last_build (diff)
downloadhat-trick-849013a6d2ae99ea1b088298b8f2067818b7404d.tar.gz
hat-trick-849013a6d2ae99ea1b088298b8f2067818b7404d.zip
Generate a feed
Diffstat (limited to 'tmpl.index.htm')
-rw-r--r--tmpl.index.htm6
1 files changed, 5 insertions, 1 deletions
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)
9 <section id="pages"> 9 <section id="pages">
10 <h2>pages here</h2> 10 <h2>pages here</h2>
11 <ul> 11 <ul>
12 $(for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done) 12 $(: > .tmp/index-list;
13 for p in .tmp/*.env; do date() { echo "2022-05-01"; }; title() { :; }; . "$p";
14 print "<li><!-- $(date) --><a href=\"$HTOUT\">$(title)</a></li>" \
15 >> .tmp/index-list; done)
16 $(sort -r .tmp/index-list)
13 </ul> 17 </ul>
14 </section> 18 </section>
15</main> 19</main>