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

flash of unstyled content

Open HelloGrayson opened this issue 10 years ago • 5 comments

The FOUC is pretty intense with this theme, you can see the flashing of the custom font on every refresh.

It looks like this isn't a problem with the Ghost version - any ideas?

HelloGrayson avatar Apr 26 '16 01:04 HelloGrayson

Maybe it's due to async CSS loading.

Zenithar avatar Apr 26 '16 20:04 Zenithar

Seems like we'd want the font to be sync-loaded

HelloGrayson avatar Apr 26 '16 20:04 HelloGrayson

Verified, sync loading fixes the issue.

sdebruyn avatar Feb 26 '17 13:02 sdebruyn

@SamuelDebruyn Do you have the patch/change somewhere?

tejasmanohar avatar Jul 22 '17 22:07 tejasmanohar

I did massive changes last week-end, including removing the asynchronous css/js loading. So it should be fixed with the new version (which may break other stuff tho, be careful when you update)

Te-k avatar Nov 07 '17 16:11 Te-k