diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-20 21:43:16 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-20 21:43:16 -0700 |
commit | db62e12e75fe6b035a53bd4fbed2aed3362876be (patch) | |
tree | 75fccf2d7b356411333f083c184c2fdd443550d0 /www | |
parent | b7b5da7a042ae7ded023e7dee73d4cdf3e9476ad (diff) | |
download | librebootfr-db62e12e75fe6b035a53bd4fbed2aed3362876be.tar.gz librebootfr-db62e12e75fe6b035a53bd4fbed2aed3362876be.zip |
add license if applicable
Diffstat (limited to 'www')
-rw-r--r-- | www/license.md | 1 | ||||
-rwxr-xr-x | www/publish.sh | 7 |
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' |