#!/bin/bash file=$1 filename=$(basename -- "$file") extension="${filename##*.}" filename="${filename%.*}" #echo "making $filename.html" pandoc ../pages/$filename.md -t html > ../dist/$filename.html