Open robvadai opened 6 years ago
I've got a site published on the web, generated by Hugo.
W3C HTML validation fails because the character set is not set early enough on the generated web page.
W3C HTML validation should pass with no errors or warnings.
It fails because the character set is not set early enough on the generated web page.
<meta charset="utf-8" />
<head>
/
https://validator.w3.org/nu/?doc=http%3A%2F%2Fthinking.segence.com%2Fblog%2Fhow-to-make-sense-of-social-media%2F
I've got a site published and I expect no validation errors in order to make the site easily to scrape for web crawlers.
Tested in Chrome
Hugo Version:
Hugo Static Site Generator v0.49.2 darwin/amd64 BuildDate: 2018-10-11T09:48:43Z
Browser:
Chrome Version 69.0.3497.100 (Official Build) (64-bit)
Desktop or Mobile:
Mac OS High Sierra version 10.13.6
I've got a site published on the web, generated by Hugo.
W3C HTML validation fails because the character set is not set early enough on the generated web page.
Expected Behavior
W3C HTML validation should pass with no errors or warnings.
Current Behavior
It fails because the character set is not set early enough on the generated web page.
Possible Solution
<meta charset="utf-8" />
tag right after the<head>
tag/
as it is not needed in HTML5Steps to Reproduce or Template with Error (for bugs)
https://validator.w3.org/nu/?doc=http%3A%2F%2Fthinking.segence.com%2Fblog%2Fhow-to-make-sense-of-social-media%2F
Context
I've got a site published and I expect no validation errors in order to make the site easily to scrape for web crawlers.
Your Environment
Tested in Chrome
Hugo Version:
Hugo Static Site Generator v0.49.2 darwin/amd64 BuildDate: 2018-10-11T09:48:43Z
Browser:
Chrome Version 69.0.3497.100 (Official Build) (64-bit)
Desktop or Mobile:
Mac OS High Sierra version 10.13.6