aboutsummaryrefslogtreecommitdiff
path: root/barf
diff options
context:
space:
mode:
Diffstat (limited to 'barf')
-rwxr-xr-xbarf4
1 files changed, 2 insertions, 2 deletions
diff --git a/barf b/barf
index 53750ca..9cdcb8d 100755
--- a/barf
+++ b/barf
@@ -15,7 +15,7 @@ elif [ "$os_name" = "Darwin" ]; then
fi
set -eu
-MARKDOWN=lowdown
+MARKDOWN=markdown
IFS=' '
# Create tab separated file with filename, title, creation date, last update
@@ -41,7 +41,7 @@ index_html() {
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 "<li><span>$created</span><a href=\"$link\">$title</a></li>"
done < "$1" | sort -r
echo "</ul>"