diff options
author | Leah Rowe <info@minifree.org> | 2017-04-07 23:46:46 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-04-07 23:46:46 +0100 |
commit | 57296f8e33732f62edc35bcd219eaa3e5202524b (patch) | |
tree | 28543519f14ca15b1472c43242f9f817f69c6688 /www | |
parent | e7cac0a8f9bf2a64ad2de784675775606549d16e (diff) | |
download | librebootfr-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-x | www/publish.sh | 4 |
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>" |