CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
4.89k stars 1.6k forks source link

Added Content Type Meta #960

Closed ofgrenudo closed 4 months ago

ofgrenudo commented 7 months ago

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.

CaiJimmy commented 7 months ago

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