aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-05-30 01:02:51 +0100
committerLeah Rowe <info@minifree.org>2017-05-30 01:03:15 +0100
commit2258cbeb7bf12ada8b8d0f5c0996d7cc4aa27818 (patch)
tree0b876ec8f1e941af8a33b68bf1efb5f691cca865 /www/publish.sh
parent91dc72c766135826ca1bceb9e696aea89ab3c0a8 (diff)
downloadlibrebootfr-2258cbeb7bf12ada8b8d0f5c0996d7cc4aa27818.tar.gz
librebootfr-2258cbeb7bf12ada8b8d0f5c0996d7cc4aa27818.zip
Add edit link to all pages, linking to instructions for sending patches
This is necessary, so that people know how to modify the website and send improvements, like they do on wiki sites. Although Libreboot is git-hosted, having this link helps. It goes to a section added to the Git page, instructing users how to edit the website and documentation.
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 fb891458..606c1fc9 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -38,7 +38,7 @@ if [ "${FILE}" != "./index" ]; then
DEST="./"
fi
- RETURN="<a href='$DEST'>Back to previous index</a>"
+ RETURN="<strong><a href='/git.html#editing-the-website-and-documentation-wiki-style'>Edit this page</a></strong> -- <a href='$DEST'>Back to previous index</a>"
OPTS="-T Libreboot"
fi
else
@@ -46,7 +46,7 @@ else
fi
if [[ $FILE = *suppliers ]]; then
- printf "\n<a href=\"../\">Back to previous index</a>\n" >> temp.md
+ printf "\n<strong><a href=\"/git.html#editing-the-website-and-documentation-wiki-style\">Edit this page</a></strong> -- <a href=\"../\">Back to previous page</a>\n" >> temp.md
fi
if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then