diff options
author | Bradley Taunt <bt@btxx.org> | 2024-06-06 15:01:43 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-06-06 15:01:43 -0400 |
commit | e146f8a64c793c337999ce316b16ebe5fe6f2dab (patch) | |
tree | 44d452851dc87eaed42f8d2eefbd1cfeae12e1c6 /barf | |
parent | bcd73c3ccefdaf5f1ba738ba7ff3dbf3622ea66b (diff) |
Begin porting newer posts, cleanup
Diffstat (limited to 'barf')
-rw-r--r-- | barf | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,16 +20,16 @@ index_html() { # Intro text $MARKDOWN index.md - echo "<ul>" + echo "<div>" # Posts while read -r f title created; do link=$(echo "$f" | sed -E 's|.*/(.*).md|\1/|') created=$(echo $(head -3 "$f" | tail -1)) - echo "<li>$created · <a href=\"$link\">$title</a></li>" + echo "<span>$created · <a href=\"$link\">$title</a></span><br>" done < "$1" | sort -r - echo "</ul>" + echo "</div>" # Print footer after post list cat footer.html |