pietroppeter / nimib

nimib 🐳 - nim 👑 driven ⛵ publishing ✍
https://pietroppeter.github.io/nimib/
MIT License
181 stars 10 forks source link

Did not parse stylesheet at 'https://unpkg.com/normalize.css/' #119

Closed pietroppeter closed 2 years ago

pietroppeter commented 2 years ago

Opening the "inspect element" in a browser (in my case Safari) for a nimib document we see an error reported:

[Error] Did not parse stylesheet at 'https://unpkg.com/normalize.css/' because non CSS MIME types are not allowed in strict mode.

It seems the error is due to the fact that somehow in the url we have a forward slash at the end. removing it fixes the issue.

will fire a PR right away but seemed worthy of a bug report. Note that this means that normalize.css was not really used so something might change in the appearances of pages (hopefully they should improve).