aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 90d52288..e79c5adf 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -27,9 +27,9 @@ cat $1 > temp.md
if [ "${FILE}" != "./index" ]; then
if [[ $FILE == *index ]]
then
- DEST=".."
+ DEST="../"
else
- DEST="index.html"
+ DEST="./"
fi
RETURN="<a href='$DEST'>Back to previous index</a>"