aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh3
1 files changed, 2 insertions, 1 deletions
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