diff options
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 |