Update the alias generated HTML files to conform to the W3C HTML spec

- W3C recommends that there be a [whitespace character][1] between the
`;` and the `url=` portions.

- W3C also recommends that there be a [title][2] child in the `head`
element

[1]: https://www.w3.org/TR/html-markup/meta.http-equiv.refresh.html
[2]: https://www.w3.org/TR/html-markup/head.html

Closes #1933
This commit is contained in:
Marvin Pinto
2016-03-07 15:05:51 -05:00
committed by Bjørn Erik Pedersen
parent 75deb923d9
commit 5d3aabcb32
2 changed files with 4 additions and 3 deletions

View File

@@ -72,9 +72,10 @@ Assuming a baseurl of `mysite.tld`, the contents of the html file will look some
<!DOCTYPE html>
<html>
<head>
<title>http://mysite.tld/posts/my-original-url</title>
<link rel="canonical" href="http://mysite.tld/posts/my-original-url"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="refresh" content="0;url=http://mysite.tld/posts/my-original-url"/>
<meta http-equiv="refresh" content="0; url=http://mysite.tld/posts/my-original-url"/>
</head>
</html>
```