aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-04 19:52:01 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-04 19:52:01 -0700
commitaa529a3150d1a921c9a48854d89013476f85657a (patch)
tree8f83dec7033bfc019ad5f4e9c132b4e34bfafaac /www/publish.sh
parentf502e6dfa22309daab1d8e00a0623e681985523e (diff)
downloadlibrebootfr-aa529a3150d1a921c9a48854d89013476f85657a.tar.gz
librebootfr-aa529a3150d1a921c9a48854d89013476f85657a.zip
License publish
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/www/publish.sh b/www/publish.sh
index 1039e0eb..a5e3be2a 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -1,4 +1,19 @@
#!/bin/bash
+#
+# Copyright (C) 2017 Alyssa Rosenzweig <alyssa@rosenzweig.io
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
echo $1
FILE=${1%.md}
@@ -29,4 +44,5 @@ TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2")
SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart")
# chuck through pandoc
-pandoc $TOC $SMART temp.md -s --css /global.css -T Libreboot --template template.html --metadata return="$RETURN"> $FILE.html
+pandoc $TOC $SMART temp.md -s --css /global.css -T Libreboot \
+ --template template.html --metadata return="$RETURN"> $FILE.html