template: minor HTML improvements - saait - the most boring static page generator
(HTM) git clone git://git.codemadness.org/saait
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 59eeabfb2ae2c82279a07091ba1cc20bca7c807c
(DIR) parent 20eaebe368ceb6f2cde067b71f54fdbff7888877
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Nov 2019 14:52:49 +0100
template: minor HTML improvements
- use the more logical order: name, content (key, value).
- remove nowrap attribute and unnecesary datetime attribute.
Diffstat:
M templates/index.html/header.html | 10 +++++-----
M templates/index.html/item.html | 2 +-
M templates/page/header.html | 10 +++++-----
3 files changed, 11 insertions(+), 11 deletions(-)
---
(DIR) diff --git a/templates/index.html/header.html b/templates/index.html/header.html
@@ -3,11 +3,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="${lang}" />
- <meta content="width=device-width" name="viewport" />
- <meta content="${keywords}" name="keywords" />
- <meta content="${description}" name="description" />
- <meta content="${author}" name="author" />
- <meta content="${sitegenerator}" name="generator" />
+ <meta name="viewport" content="width=device-width" />
+ <meta name="keywords" content="${keywords}" />
+ <meta name="description" content="${description}" />
+ <meta name="author" content="${author}" />
+ <meta name="generator" content="${sitegenerator}" />
<title>Posts - ${sitetitle}</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
(DIR) diff --git a/templates/index.html/item.html b/templates/index.html/item.html
@@ -1 +1 @@
-<tr><td nowrap><time datetime="${created}">${created}</time></td><td><a href="${filename}">${title}</a></td></tr>
+<tr><td><time>${created}</time></td><td><a href="${filename}">${title}</a></td></tr>
(DIR) diff --git a/templates/page/header.html b/templates/page/header.html
@@ -3,11 +3,11 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="${lang}" />
- <meta content="width=device-width" name="viewport" />
- <meta content="${keywords}" name="keywords" />
- <meta content="${description}" name="description" />
- <meta content="${author}" name="author" />
- <meta content="${sitegenerator}" name="generator" />
+ <meta name="viewport" content="width=device-width" />
+ <meta name="keywords" content="${keywords}" />
+ <meta name="description" content="${description}" />
+ <meta name="author" content="${author}" />
+ <meta name="generator" content="${sitegenerator}" />
<title>${title} - ${sitetitle}</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />