summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpux <pux@pux.dom>2020-06-29 10:44:16 +0200
committerpux <pux@pux.dom>2020-06-29 10:44:16 +0200
commita9e2c029bfb0c7fe14a88cd10540afd82a9d7aca (patch)
tree4acb13f2ee812663fb0884b2b38f9ca76227ad43
parent95e3b1c1963fd3bae2d3ca7595f4930748266125 (diff)
downloadpub-docs-a9e2c029bfb0c7fe14a88cd10540afd82a9d7aca.tar.gz
pub-docs-a9e2c029bfb0c7fe14a88cd10540afd82a9d7aca.tar.bz2
pub-docs-a9e2c029bfb0c7fe14a88cd10540afd82a9d7aca.zip
don't htmlize template.md
-rw-r--r--template.html18
-rwxr-xr-xupdate.sh5
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>
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
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa