aboutsummaryrefslogtreecommitdiff
path: root/barf
diff options
context:
space:
mode:
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