aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-04-07 23:46:46 +0100
committerLeah Rowe <info@minifree.org>2017-04-07 23:46:46 +0100
commit57296f8e33732f62edc35bcd219eaa3e5202524b (patch)
tree28543519f14ca15b1472c43242f9f817f69c6688 /www
parente7cac0a8f9bf2a64ad2de784675775606549d16e (diff)
downloadlibrebootfr-57296f8e33732f62edc35bcd219eaa3e5202524b.tar.gz
librebootfr-57296f8e33732f62edc35bcd219eaa3e5202524b.zip
website and publish.sh: do not link to index files, link to directories.
Diffstat (limited to 'www')
-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>"