diff options
author | Leah Rowe <info@minifree.org> | 2017-04-05 15:59:31 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-04-05 15:59:31 +0100 |
commit | 0e51b49dbd742730f8e9082503d1f547baff6fd1 (patch) | |
tree | 187e647699ac8595171e461ab49c369c233c5604 /www | |
parent | 07db5576f110b711e86b71d84cdb46bd22705c21 (diff) | |
download | librebootfr-0e51b49dbd742730f8e9082503d1f547baff6fd1.tar.gz librebootfr-0e51b49dbd742730f8e9082503d1f547baff6fd1.zip |
testing
Diffstat (limited to 'www')
-rwxr-xr-x | www/publish.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/publish.sh b/www/publish.sh index 62f5d24b..081b0bab 100755 --- a/www/publish.sh +++ b/www/publish.sh @@ -41,10 +41,12 @@ echo "[License](/license.md)" >> temp.md sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g' # work around issue #2872 -TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || echo "foo" +TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || TOC="" +echo $TOC # work around heterogenous pandoc versions -SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart") || echo "foo" +SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart") || SMART="" +echo $SMART # chuck through pandoc pandoc $TOC $SMART temp.md -s --css /global.css -T Libreboot \ |