aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/license.md1
-rwxr-xr-xwww/publish.sh7
2 files changed, 7 insertions, 1 deletions
diff --git a/www/license.md b/www/license.md
index a752121c..2c904c10 100644
--- a/www/license.md
+++ b/www/license.md
@@ -1,3 +1,4 @@
+
Copyright 2015-2017 Leah Rowe <info@minifree.org> \
Copyright 2017 Alyssa Rosenzweig <alyssa@rosenzweig.io>
diff --git a/www/publish.sh b/www/publish.sh
index 4e02e9dc..b593f571 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -11,9 +11,14 @@ if [ "${FILE}" != "./index" ]; then
printf "[Go back to homepage](/index.md)\n\n" >> temp.md
fi
-#read rest of file
+# read rest of file
tail -n +5 $FILE.md >> temp.md
+# add license notice where applicable
+if [[ "${FILE} != "docs*""]]
+ cat license.md >> temp.md
+fi
+
# change out .md -> .html
sed temp.md -i -e 's/.md\(#[a-z\-]*\)*)/.html\1)/g'