diff --git a/make.sh b/make.sh
index 90a573c..1f70800 100755
--- a/make.sh
+++ b/make.sh
@@ -1,6 +1,6 @@
#!/bin/bash
rootDir='./tmp/'
-targetDir=''
+targetDir='post/'
[[ -z $rootDir/post/ ]] && mkdir -p $rootDir/post
@@ -13,19 +13,14 @@ post() {
sed -i "5i
${base%.*}" $tmp
sed -i "s///g' $tmp
+ # turn the header into an actual header
+ sed -i '30i ' $tmp # change this to 33 once we finalized for the subheading
# finally move this post to its proper location in the _rootDir
mv $tmp "$rootDir/$targetDir/${base%.*}.html"
rm -f $tmp
}
-if [[ $1 == "r" ]]
-then
- targetDir=''
- shift
-else
- targetDir='post/'
-fi
-
for file in $@;do
post $file
done