workflow
This commit is contained in:
parent
e1b33cf72d
commit
4e7a0c1966
1 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,9 @@ filename=$(basename -- "$file")
|
|||
extension="${filename##*.}"
|
||||
filename="${filename%.*}"
|
||||
|
||||
#echo "making $filename.html"
|
||||
|
||||
pandoc ../pages/$filename.md -t html > ../dist/$filename.html
|
||||
if [[ -f ../pages/$filename.md ]]
|
||||
then
|
||||
echo "making $filename.html"
|
||||
pandoc ../pages/$filename.md -t html > ../dist/$filename.html
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue