saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 59eeabfb2ae2c82279a07091ba1cc20bca7c807c
parent 20eaebe368ceb6f2cde067b71f54fdbff7888877
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:
Mtemplates/index.html/header.html | 10+++++-----
Mtemplates/index.html/item.html | 2+-
Mtemplates/page/header.html | 10+++++-----
3 files changed, 11 insertions(+), 11 deletions(-)

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" /> 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> 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" />