From 2ae432349212cc00c3df9935a04edecc1f551241 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Tue, 3 Jan 2017 00:38:01 +0100 Subject: [PATCH] Update HTML templates. --- processor/metadata/article.tmpl.do | 11 +++++++++++ processor/metadata/index.tmpl.do | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/processor/metadata/article.tmpl.do b/processor/metadata/article.tmpl.do index 9f08b03..13beb35 100644 --- a/processor/metadata/article.tmpl.do +++ b/processor/metadata/article.tmpl.do @@ -5,6 +5,17 @@ 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> diff --git a/processor/metadata/index.tmpl.do b/processor/metadata/index.tmpl.do index 275ca2b..5fbc63b 100644 --- a/processor/metadata/index.tmpl.do +++ b/processor/metadata/index.tmpl.do @@ -5,6 +5,10 @@ cat << EOF <!DOCTYPE html> <html> <head> +<meta charset="UTF-8"> +<style type="text/css"> +h1 { font-size: 2em; } +</style> <link rel="alternate" type="application/rss+xml" title="atom feed" href="feed.xml" /> <title>%TITLE%</title> </head> -- 2.30.2