hugo-theme-stack icon indicating copy to clipboard operation
hugo-theme-stack copied to clipboard

Added Content Type Meta

Open ofgrenudo opened this issue 1 year ago • 1 comments

While, yes the Content-Type meta will be over written by the server, it is ideal to just have it for the people who dont have their server configured properly. One less thing for them to worry about.

ofgrenudo avatar Feb 26 '24 22:02 ofgrenudo

Hi, thanks for the PR.

However, according to the HTML spec, "A document must not include both a “meta” element with an “http-equiv” attribute whose value is “content-type”, and a “meta” element with a “charset” attribute.", which is the case of this PR.

https://rocketvalidator.com/html-validation/a-document-must-not-include-both-a-meta-element-with-an-http-equiv-attribute-whose-value-is-content-type-and-a-meta-element-with-a-charset-attribute

CaiJimmy avatar Mar 02 '24 22:03 CaiJimmy