forked from kageru/mdb
edit the pandoc command
This commit is contained in:
parent
a2438208b0
commit
b1ab90fdb0
|
@ -54,7 +54,7 @@ create_entry() {
|
||||||
path="$9"
|
path="$9"
|
||||||
outpath="content/$(basename "$path" .md).html"
|
outpath="content/$(basename "$path" .md).html"
|
||||||
# convert new markdown posts to 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
|
# then add it to the index
|
||||||
title="$(grep -h '^title: ' "$path" | sed 's/title: //g')"
|
title="$(grep -h '^title: ' "$path" | sed 's/title: //g')"
|
||||||
created=$(grep -h '^date: ' "$path" | sed 's/date: //g')
|
created=$(grep -h '^date: ' "$path" | sed 's/date: //g')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user