spf13 / hyde

Port of Mdo's excellent theme to Hugo
Other
541 stars 569 forks source link

Partials head.html Needs CSS Type Attribute #49

Closed MCDELTAT closed 6 years ago

MCDELTAT commented 6 years ago

With just the default installation I'm running into an issue in Chrome 65 where it reports that it won't load the CSS Pages because the MIME type defaults to "text/plain" and strict type checking is turned on by default in 65. To fix this I simply added the attribute 'type="text/css"' to the individual tags in head.html.

I've never worked extensively with submodules before so I'm not sure on how to submit a pull request on it, but I would gladly do so.

bep commented 6 years ago

In my head this is a problem with your web server and not Hugo, but It doesn't hurt, so I'll add it.