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.
master
Jonathan Hodgson 3 years ago
parent 69bfb3d395
commit 6641d61b1f
  1. 4
      inc/to-html

@ -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…
Cancel
Save