Causes the convert tool to copy other files
Any non-markdown files (except the database) will also be copied to the directory when doing a convert.
This commit is contained in:
parent
69bfb3d395
commit
6641d61b1f
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ to-html(){
|
|||
pandoc -f markdown -t html --template "$templateFile" > "$destination/$newFile"
|
||||
done
|
||||
|
||||
rsync -a \
|
||||
--exclude "*.md" --exclude "*.sqlite3" \
|
||||
"$dataDir/" "$destination"
|
||||
|
||||
rm "$tocFile" "$templateFile"
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue