hugo-resume icon indicating copy to clipboard operation
hugo-resume copied to clipboard

Styles not loaded in Firefox

Open seandlg opened this issue 5 years ago • 3 comments

It looks like stylesheets are not loaded in Firefox, neither in the Browser version nor the mobile (Android) version.

A little digging led me to this stackoverflow post, which claims that <noscript/> tags must not be found in the <head/>-section.

Removing the <noscript/>-tags fixed the site for me — css styles are now loaded on Firefox Desktop and Mobile. Same issue might exist for IE, though I haven't checked. PR attached.

By the way, thanks for the great theme!

seandlg avatar Feb 13 '20 17:02 seandlg

Pull request is here. Just FYI, the preload-tag doesn't seem to work in Firefox and possibly some other browsers (see here), though I'm sure you know of this, as there's backup </style> tags for these browsers (it just so happens that noscript breaks these..).

seandlg avatar Feb 13 '20 17:02 seandlg

Are there any plans to get this merged @eddiewebb?

cuotos avatar Jul 08 '20 11:07 cuotos

I'll add comment to the pr but this (preload) is part of living standard for html 5 and technically supported by Firefox but currently a but regression that broke it.

https://bugzilla.mozilla.org/show_bug.cgi?id=1405761

Additionally it greatly accelerates the load time of pages. So rather than remove, well need a suitable alternative or press Mozilla team to fix regression.

eddiewebb avatar Jul 10 '20 11:07 eddiewebb