diff options
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-x | www/publish.sh | 16 |
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' |