use /blog/style.css instead of /style.css

pull/2/head
Arya K 3 months ago
parent daedfb944e
commit b1dc4cc6fa
Signed by: aryak
GPG Key ID: 3A6EA2D0EE314EEF
  1. 2
      pblog.sh

@ -24,7 +24,7 @@ if [[ $SYNTAX = true ]]
fi
# Create the web browser-focused HTML versions for all posts
for i in $POSTS; do pandoc --css=../style.css --ascii --metadata lang="$HTML_LANG" $TOC_TOGGLE $SYNTAX_TOGGLE --wrap=none -A _footer.html -B _header.html -s $i -o ${i%.*}.html; done;
for i in $POSTS; do pandoc --css=/blog/style.css --ascii --metadata lang="$HTML_LANG" $TOC_TOGGLE $SYNTAX_TOGGLE --wrap=none -A _footer.html -B _header.html -s $i -o ${i%.*}.html; done;
rsync $POSTS_DIR*.html $OUTPUT$WEB_HTML;
rm $POSTS_DIR*.html

Loading…
Cancel
Save