diff --git a/scripts/web.sh b/scripts/web.sh index 65770ab..642e425 100755 --- a/scripts/web.sh +++ b/scripts/web.sh @@ -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