workflow
All checks were successful
/ test (push) Successful in 7s
/ publish (push) Successful in 58s

This commit is contained in:
milovann 2024-12-03 22:41:16 +01:00
parent e1b33cf72d
commit 4e7a0c1966

View file

@ -5,6 +5,9 @@ filename=$(basename -- "$file")
extension="${filename##*.}" extension="${filename##*.}"
filename="${filename%.*}" filename="${filename%.*}"
#echo "making $filename.html"
if [[ -f ../pages/$filename.md ]]
then
echo "making $filename.html"
pandoc ../pages/$filename.md -t html > ../dist/$filename.html pandoc ../pages/$filename.md -t html > ../dist/$filename.html
fi