aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 9db2ff0d..dadb83e0 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -7,9 +7,9 @@ FILE=${1%.md}
head -n 4 $FILE.md > temp.md
# if not homepage, add a link back to the homepage
-#if [ "${FILE}" != "./index" ]; then
-# printf "[Go back to homepage](/index.md)\n\n" >> temp.md
-#fi
+if [ "${FILE}" != "./index" ]; then
+ printf "[Go back to homepage](/index.md)\n\n" >> temp.md
+fi
# read rest of file
tail -n +5 $FILE.md >> temp.md