From d255058a4618d5f434eeabe4a1b8cc26e782a7d9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 24 May 2025 15:49:43 +0200 Subject: Make lowdown output HTML --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 67776d5..f612269 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,8 @@ copyfile() { md) t="$(markdowntitle "$file")" sed "s/TITLE/$t/" < top.html > "$ind" - lowdown "$file" >> "$ind" + lowdown --html-no-skiphtml --html-no-escapehtml \ + "$file" >> "$ind" cat bottom.html >> "$ind" ;; html) -- cgit v1.3 From c43fc5f658fffac97358c439950051c3980774ee Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 6 Jun 2025 15:47:02 +0200 Subject: Small change to build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index f612269..93f0294 100755 --- a/build.sh +++ b/build.sh @@ -65,7 +65,7 @@ makeblogindexandfeed() { f="src/blog/$i/*.md" d="$(echo "$i" | grep -oE '^[0-9]{4}-[0-9]{2}-[0-9]{2}')" - t="$(head -n 1 $f | sed 's/# //')" + t="$(markdowntitle $f)" link="https://sebastiano.tronto.net/blog/$i" thisyear="$(echo "$d" | sed 's/-.*//')" -- cgit v1.3