aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-04-30 01:38:11 +0100
committerLeah Rowe <info@minifree.org>2017-04-30 02:40:56 +0100
commit1c590deb5a372e6c68ed808b6a7f222e937d74c7 (patch)
tree8a55c20aeed61bc2808f46efb9912efa8c2b005d /www/publish.sh
parent399dc58cc336072181425405e3ff33ddc16774dd (diff)
downloadlibrebootfr-1c590deb5a372e6c68ed808b6a7f222e937d74c7.tar.gz
librebootfr-1c590deb5a372e6c68ed808b6a7f222e937d74c7.zip
Re-license all documentation under GNU Free Documentation License v1.3/higher
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 7b1dacef..55b6660a 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -38,12 +38,16 @@ if [ "${FILE}" != "./index" ]; then
OPTS="--css /headerleft.css -T Libreboot"
fi
-echo "" >> temp.md
-printf "[License](/license.md) --\n" >> temp.md
-printf "[Authors](/contrib.md) --\n" >> temp.md
-printf "[Conduct Guidelines](/conduct.md) --\n" >> temp.md
-printf "[Management Guidelines](/management.md) --\n" >> temp.md
-printf "[Peers Community](https://peers.community/) \n" >> temp.md
+
+if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then
+ echo "" >> temp.md
+ printf "[License](/docs/fdl-1.3.md) --\n" >> temp.md
+ printf "[Template](/license.md) --\n" >> temp.md
+ printf "[Authors](/contrib.md) --\n" >> temp.md
+ printf "[Conduct Guidelines](/conduct.md) --\n" >> temp.md
+ printf "[Management Guidelines](/management.md) --\n" >> temp.md
+ printf "[Peers Community](https://peers.community/) \n" >> temp.md
+fi
# change out .md -> .html
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'