aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-05-05 00:08:53 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-05-05 00:08:53 -0700
commitd14e9ac5b86c911cb255ab30425790488c20fb4d (patch)
tree7a14faa9dd1e513850f33ced91d14729c3cb36e7 /templates
parent07bf43a314fe65ccd9c7cb663c3c6134a47cc269 (diff)
downloadmy_new_personal_website-d14e9ac5b86c911cb255ab30425790488c20fb4d.tar.xz
my_new_personal_website-d14e9ac5b86c911cb255ab30425790488c20fb4d.zip
a lot of work
Mainly generating feed and index.
Diffstat (limited to '')
-rw-r--r--templates/template.html33
1 files changed, 16 insertions, 17 deletions
diff --git a/templates/template.html b/templates/template.html
index 1b527e5e..ff6c5f5a 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -1,31 +1,30 @@
-<!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$>
+<!DOCTYPE html>
+<html>
<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" />
+<meta charset="UTF-8">
+<meta name="generator" content="pandoc" />
+<meta name="author" content="Zhiming Wang" />
$if(date)$
- <meta name="date" content="$date$" />
+<meta name="date" content="$date$" />
$endif$
- <title>$pagetitle$ — dl? cmplnts?</title>
- <style type="text/css">code{white-space: pre;}</style>
+<title>$pagetitle$</title>
+<style type="text/css">code{white-space: pre;}</style>
$if(quotes)$
- <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
+<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
$if(highlighting-css)$
- <style type="text/css">
+<style type="text/css">
$highlighting-css$
- </style>
+</style>
$endif$
$for(css)$
- <link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
+<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$endfor$
$if(math)$
- $math$
+$math$
$endif$
$for(header-includes)$
- $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">
@@ -41,7 +40,7 @@ $if(subtitle)$
$endif$
<h2 class="meta">
$if(date-display)$
-<time class="timestamp" $if(date)$timestamp="$date$"$endif$>$date-display$,</time>
+<time class="timestamp" $if(date)$datetime="$date$"$endif$>$date-display$,</time>
$endif$
by <span class="author">Zhiming Wang</span>
</h2>
@@ -53,8 +52,8 @@ $toc$
</div>
$endif$
$body$
-<hr>
<footer>
+<hr>
<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>