2 bug fixes - git not always working and verbose pandoc
Pandoc would output warnings about a lack of title, although we are not using it in the template. Also, the tool would fail to do some git commands because it was checking the wrong folder
This commit is contained in:
parent
6641d61b1f
commit
7a032b7cdb
2 changed files with 4 additions and 2 deletions
|
@ -52,7 +52,7 @@ to-html(){
|
|||
local newFile="${file##*/}"
|
||||
newFile="${newFile/.md/.html}"
|
||||
sed -E 's/\.md( *)\)/.html\1\)/' "$file" |
|
||||
pandoc -f markdown -t html --template "$templateFile" > "$destination/$newFile"
|
||||
pandoc --quiet -f markdown -t html --template "$templateFile" > "$destination/$newFile"
|
||||
done
|
||||
|
||||
rsync -a \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue