aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-20 20:44:26 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-20 20:44:26 -0700
commitf0270e832b8413e41e3550a9d2caf1abb9927279 (patch)
tree9724557533c18c756e89f79ab249ff04c6f09198
parentd9c57a3fb3743bdc659e1f5767fb64d6b922c53f (diff)
downloadlibrebootfr-f0270e832b8413e41e3550a9d2caf1abb9927279.tar.gz
librebootfr-f0270e832b8413e41e3550a9d2caf1abb9927279.zip
Fix a few issues
-rwxr-xr-x[-rw-r--r--]www/generate.sh0
-rwxr-xr-xwww/publish.sh3
2 files changed, 2 insertions, 1 deletions
diff --git a/www/generate.sh b/www/generate.sh
index dab39ede..dab39ede 100644..100755
--- a/www/generate.sh
+++ b/www/generate.sh
diff --git a/www/publish.sh b/www/publish.sh
index 52a6ce7d..ed9b9bee 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -1,5 +1,6 @@
#!/bin/sh
+echo $1
FILE=${1%.md}
# get title block
@@ -23,4 +24,4 @@ TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc")
SMART=$(pandoc -v | grep -q '2\.0' || echo "--smart")
# chuck through pandoc
-pandoc --self-contained -f markdown $SMART -t html temp.md -s --css global.css --section-divs -T Libreboot $TOC > $FILE.html
+pandoc $SMART temp.md -s --css /global.css --section-divs -T Libreboot $TOC > $FILE.html