From 731e383e52f56d6bc84df340982348851081c3a4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 13 May 2017 08:19:15 -0700 Subject: Footer separate file --- www/footer.md | 7 +++++++ www/publish.sh | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 www/footer.md (limited to 'www') diff --git a/www/footer.md b/www/footer.md new file mode 100644 index 00000000..dfddfd75 --- /dev/null +++ b/www/footer.md @@ -0,0 +1,7 @@ + +[License](/docs/fdl-1.3.md) -- +[Template](/license.md) -- +[Authors](/contrib.md) -- +[Conduct Guidelines](/conduct.md) -- +[Management Guidelines](/management.md) -- +[Peers Community](https://peers.community/) -- diff --git a/www/publish.sh b/www/publish.sh index 7f68d5ae..e75ec332 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -42,13 +42,7 @@ fi 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 + cat footer.md >> temp.md fi # change out .md -> .html -- cgit v1.2.3-70-g09d2