From b1ab90fdb071613519588423fc9bcb7ee6b25f1b Mon Sep 17 00:00:00 2001 From: Lux49 Date: Sun, 12 Jul 2020 02:42:46 +0200 Subject: [PATCH] edit the pandoc command --- blog-refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog-refresh.sh b/blog-refresh.sh index 0c26701..1b0e00a 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -54,7 +54,7 @@ create_entry() { path="$9" outpath="content/$(basename "$path" .md).html" # convert new markdown posts to html - pandoc "$path" -t html -f markdown -o "$outpath" + pandoc -s --css=sakura-vader.css "$path" -t html5 -f markdown -o "$outpath" # then add it to the index title="$(grep -h '^title: ' "$path" | sed 's/title: //g')" created=$(grep -h '^date: ' "$path" | sed 's/date: //g')