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

Add crossorigin attribute to stylesheet

Open andodet opened this issue 3 years ago • 3 comments

First of all thanks for the neat theme. I've added a crossorigin attribute (following this post) to the stylesheet link as it looks the only solution to a problem I am currently facing and seems it's a shared approach on other themes as well. image

andodet avatar Jul 14 '21 08:07 andodet

@andodet Thanks for helping! But the commit 07caffb which includes crossorigin attribute seems to be force-overwritten by 8351bf4, which removes the Integrity attribute. Can you check it again? Thanks!

monkeyWzr avatar Jul 23 '21 09:07 monkeyWzr

I ran into the same issue and resolved it by adding the crossorigin="anonymous" attribute. Any preference on which method do you want to proceed with, @monkeyWzr ?

leonseng avatar Aug 01 '21 04:08 leonseng

Sorry for the slow reply. @leonseng approach didn't work for me (I believe for unrelated reasons) - at the same time I believe that would be the correct approach to handle this.

andodet avatar Aug 03 '21 11:08 andodet