From aa529a3150d1a921c9a48854d89013476f85657a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 4 Apr 2017 19:52:01 -0700 Subject: License publish --- www/publish.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 . 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 -- cgit v1.2.3-70-g09d2