diff options
Diffstat (limited to '')
-rw-r--r-- | templates/template.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/templates/template.html b/templates/template.html new file mode 100644 index 00000000..1b527e5e --- /dev/null +++ b/templates/template.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <meta name="generator" content="pandoc" /> + <meta name="author" content="Zhiming Wang" /> +$if(date)$ + <meta name="date" content="$date$" /> +$endif$ + <title>$pagetitle$ — dl? cmplnts?</title> + <style type="text/css">code{white-space: pre;}</style> +$if(quotes)$ + <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> +$endif$ +$if(highlighting-css)$ + <style type="text/css"> +$highlighting-css$ + </style> +$endif$ +$for(css)$ + <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/> +$endfor$ +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ +<link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"> +<link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"> +<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"> +</head> +<body> +<article> +$if(title)$ +<header> +<h1 class="title">$title$</h1> +$if(subtitle)$ +<h1 class="subtitle">$subtitle$</h1> +$endif$ +<h2 class="meta"> +$if(date-display)$ +<time class="timestamp" $if(date)$timestamp="$date$"$endif$>$date-display$,</time> +$endif$ +by <span class="author">Zhiming Wang</span> +</h2> +</header> +$endif$ +$if(toc)$ +<div id="$idprefix$TOC"> +$toc$ +</div> +$endif$ +$body$ +<hr> +<footer> +<a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license."> +<a href="https://github.com/zmwangx">Zhiming Wang</a> +</footer> +</article> +</body> +</html> |