use title in template

This commit is contained in:
Tim Schubert 2021-05-02 13:51:51 +02:00
parent 9aba585da8
commit 9dcb016b71
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
9 changed files with 26 additions and 9 deletions

View file

@ -1,3 +1,3 @@
#!/bin/sh
find . -iname "*.md" -type f -exec sh -c 'pandoc -s -f commonmark -t html --template=src/template.html -o "${0%.md}.html" "${0}"' {} \;
find . -iname "*.md" -type f -exec sh -c 'pandoc -s -f markdown -t html --template=src/template.html -o "${0%.md}.html" "${0}"' {} \;