aboutsummaryrefslogtreecommitdiffhomepage
path: root/barf
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-06 10:23:23 -0400
committerBradley Taunt <bt@btxx.org>2024-07-06 10:23:23 -0400
commit6beac7b78bad40cb142f06238a739d32fa8ef6a6 (patch)
treed6b5de4f2e14a2180db90e5f4153e5732a62bcd6 /barf
parenta7da0c5a78f1d57be80359c15e1d215dc497500e (diff)
Use lowdown, place build directory removal outside of barf script
Diffstat (limited to 'barf')
-rwxr-xr-xbarf4
1 files changed, 1 insertions, 3 deletions
diff --git a/barf b/barf
index 045596b..5312a07 100755
--- a/barf
+++ b/barf
@@ -15,7 +15,7 @@ elif [ "$os_name" = "Darwin" ]; then
fi
set -eu
-MARKDOWN=kramdown
+MARKDOWN=lowdown
IFS=' '
# Create tab-separated file with filename, title, creation date, last update
@@ -146,8 +146,6 @@ write_page() {
> "$target" && cat footer.html >> "$target"
}
-rm -rf build && mkdir build
-
# Blog posts
index_tsv posts | sort -rt " " -k 3 > build/posts.tsv
index_html build/posts.tsv > build/index.html