aboutsummaryrefslogtreecommitdiff
path: root/barf
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-06-06 15:01:43 -0400
committerBradley Taunt <bt@btxx.org>2024-06-06 15:01:43 -0400
commite146f8a64c793c337999ce316b16ebe5fe6f2dab (patch)
tree44d452851dc87eaed42f8d2eefbd1cfeae12e1c6 /barf
parentbcd73c3ccefdaf5f1ba738ba7ff3dbf3622ea66b (diff)
Begin porting newer posts, cleanup
Diffstat (limited to 'barf')
-rw-r--r--barf6
1 files changed, 3 insertions, 3 deletions
diff --git a/barf b/barf
index 1de61a1..e13b901 100644
--- a/barf
+++ b/barf
@@ -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 &middot; <a href=\"$link\">$title</a></li>"
+ echo "<span>$created &middot; <a href=\"$link\">$title</a></span><br>"
done < "$1" | sort -r
- echo "</ul>"
+ echo "</div>"
# Print footer after post list
cat footer.html