Mercurial > blahgd > experimental
changeset 991:9456178a9584
templates: change the doctype to HTML5
HTML5 has been around long enough to be broadly supported. This commit does
the bare minimum to get HTML5 output that browsers will be happy with.
There are several improvements that could be made to make use of the new
tags to further improve the experience.
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sun, 30 Dec 2018 11:09:13 -0500 |
parents | 551f09261f81 |
children | 5eed88560af7 |
files | templates/html/header.tmpl templates/html/sidebar.tmpl |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/html/header.tmpl Sun Dec 30 11:09:11 2018 -0500 +++ b/templates/html/header.tmpl Sun Dec 30 11:09:13 2018 -0500 @@ -1,4 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> @@ -20,7 +20,7 @@ {endif()} {endif()} {endif()} - <style type="text/css" media="screen"> + <style media="screen"> @import url( {baseurl}/style.css ); </style>
--- a/templates/html/sidebar.tmpl Sun Dec 30 11:09:11 2018 -0500 +++ b/templates/html/sidebar.tmpl Sun Dec 30 11:09:13 2018 -0500 @@ -23,7 +23,6 @@ <div class="sbsection"><span class="sbtitle">Meta:</span> <ul> <li><a href="{baseurl}/?feed=atom" title="Syndicate this site using ATOM">Atom</a></li> - <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li> </ul> </div>