aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-02 12:16:40 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-02 12:16:40 -0700
commitbeae3b46e0a08c6df0800a463947974130b6086e (patch)
tree83ff755276984a301b47d1d83b5d74a5e8f1f9db /www/publish.sh
parentf70ad547ba67a17864a2433592a096497ed709f1 (diff)
downloadlibrebootfr-beae3b46e0a08c6df0800a463947974130b6086e.tar.gz
librebootfr-beae3b46e0a08c6df0800a463947974130b6086e.zip
temp readd backlinks
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