diff --git a/scripts/templates/default.html b/scripts/templates/default.html
new file mode 100644
index 0000000..acc90d7
--- /dev/null
+++ b/scripts/templates/default.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+$for(author-meta)$
+
+$endfor$
+$if(date-meta)$
+
+$endif$
+$if(keywords)$
+
+$endif$
+$if(description-meta)$
+
+$endif$
+ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$
+
+$for(css)$
+
+$endfor$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+$if(math)$
+$if(mathjax)$
+
+$endif$
+ $math$
+$endif$
+
+
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+
+$endif$
+$if(toc)$
+
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+
+
diff --git a/scripts/web.sh b/scripts/web.sh
index 750fdae..05bf0fd 100755
--- a/scripts/web.sh
+++ b/scripts/web.sh
@@ -10,7 +10,12 @@ convert()
if [[ -f ../pages/$filename.md ]]
then
echo "making $filename.html"
- pandoc --verbose -s ../pages/$filename.md -t html > ../dist/$filename.html --lua-filter=links-to-html.lua
+ pandoc \
+ -s \
+ --template=templates/default.html \
+ ../pages/$filename.md \
+ -t html > ../dist/$filename.html \
+ --lua-filter=links-to-html.lua
fi
}