bnomei / kirby3-htmlhead

Kirby Plugin for a best-practice HTML Head Element extendable with snippets
https://forum.getkirby.com/t/kirby3-htmlhead-best-practice-html-head-element-extendable-with-snippets/23585
MIT License
20 stars 0 forks source link

Idea: External css / js integrity #10

Closed S1SYPHOS closed 5 years ago

S1SYPHOS commented 5 years ago

Hey there, I'd like to incorporate an external CSS file in 'bnomei.htmlhead.css', and while kirby3-fingerprint is installed, there's currently no option to include its integrity value.

daybugging commented 5 years ago

full ack

bnomei commented 5 years ago

good idea. will add for js as well.

bnomei commented 5 years ago

ah yes. just do https://www.example.com/mystyle.css|sha384-whatever in the config. use | to seperate filename from SRI. works for js as well.