diff options
-rw-r--r-- | template.html | 18 | ||||
-rwxr-xr-x | update.sh | 5 |
2 files changed, 4 insertions, 19 deletions
diff --git a/template.html b/template.html deleted file mode 100644 index 5e0d925..0000000 --- a/template.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - <meta name="generator" content="pandoc"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> - <title></title> - <style type="text/css">code{white-space: pre;}</style> - <link href="data:text/css;charset=utf-8,%2A%20%7Bfont%2Dfamily%3A%20Courier%20New%2C%20Courier%2C%20Monospace%7D%0A" rel="stylesheet"> - <!--[if lt IE 9]> - <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> - <![endif]--> -</head> -<body> -<h1 id="title">@<span class="citation" data-cites="title">@title</span></h1> -<h2 id="desc">@<span class="citation" data-cites="desc">@desc</span></h2> -</body> -</html> @@ -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 |