From a9e2c029bfb0c7fe14a88cd10540afd82a9d7aca Mon Sep 17 00:00:00 2001 From: pux Date: Mon, 29 Jun 2020 10:44:16 +0200 Subject: don't htmlize template.md --- update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index f4430f3..2cee2be 100755 --- a/update.sh +++ b/update.sh @@ -3,5 +3,8 @@ for i in *.md do filename_wo_ext=$(echo "$i" | cut -f 1 -d '.') - pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html + if [ $filename_wo_ext != "template" ] + then + pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html + fi done -- cgit v1.2.2-1-g5e49