edit the pandoc command

This commit is contained in:
Lux49 2020-07-12 02:42:46 +02:00
parent a2438208b0
commit b1ab90fdb0

View File

@ -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')