diff --git a/make.sh b/make.sh new file mode 100755 index 0000000..70b8619 --- /dev/null +++ b/make.sh @@ -0,0 +1,57 @@ +#!/bin/bash +rootDir='./site/' +targetDir='post/' + +post() { + tmp=".swap" + full=".fullswap" + base=$(basename $1) + # First build the content of the site + pandoc $1 | sed '3i ' >> $tmp + sed -i '1i