home · contact · privacy
Fix tests, improve templates.
[redo-blog] / processor / metadata / article.tmpl.do
index 5cf9b3c0a8c7eb9059c0cbb3180d91f8e4c02475..575e4334c6c4473d67a3a312618c670d09a3c454 100644 (file)
@@ -5,14 +5,28 @@ cat << EOF
 <!DOCTYPE html>
 <html>
 <head>
+<meta charset="UTF-8">
+<style type="text/css">
+h1 { font-size: 2em; }
+h2 { font-size: 1.5em; }
+h3 { font-size: 1.17em; }
+h4 { font-size: 1.12em; }
+h5 { font-size: .83em; }
+h6 { font-size: .75em; }
+header h1 { margin-bottom: 0.1em; }
+header p { margin: 0; }
+</style>
 <title>%BLOG_TITLE% – %ARTICLE_TITLE_ESCAPED%</title>
 </head>
 <body>
 <a href="index.html">%BLOG_TITLE%</a>
+<article>
+<header>
 <h1>%ARTICLE_TITLE_HTML%</h1>
-<section>
+<p><time>%DATE_CREATED%</time></p>
+</header>
 %BODY%
-</section>
+</article>
 </body>
 </html>
 EOF