1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
No description
Find a file
rohan kumar 74e939f40b
Implement cache-busting and SRI for CSS
Use Hugo's fingerprinting pipes [0] to give external stylesheets an
identifier to enable cache-busting [1].
Since Hugo's fingerprinting automatically generates the information
needed for SRI [2], include an integrity attribute too.

I discovered this feature through webhint [3], and added the .hintrc
file I used to the repo root.

[0]: https://gohugo.io/hugo-pipes/fingerprint/
[1]: https://css-tricks.com/strategies-for-cache-busting-css/
[2]: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
[3]: https://webhint.io/
2020-12-11 17:33:38 -08:00
archetypes Batman!! (this commit has no parents) 2020-11-03 15:52:34 -08:00
content About: more details about identities 2020-12-11 12:02:02 -08:00
layouts My gemlog deserves sane date formats too! 2020-11-25 22:38:16 -08:00
static New favicon 2020-12-11 12:00:31 -08:00
themes/etch-custom Implement cache-busting and SRI for CSS 2020-12-11 17:33:38 -08:00
.build.yml Try out gzip_static 2020-11-24 21:57:20 -08:00
.gitignore Implement cache-busting and SRI for CSS 2020-12-11 17:33:38 -08:00
.hintrc Implement cache-busting and SRI for CSS 2020-12-11 17:33:38 -08:00
config.toml Default description: "Seirdy's Home" 2020-12-11 12:01:37 -08:00
deploy.sh CI: include publickey.txt in gemini capsule 2020-12-11 12:03:40 -08:00
LICENSE Batman!! (this commit has no parents) 2020-11-03 15:52:34 -08:00
README.md Link to proj. hub instead of git repo on sourcehut 2020-11-19 20:35:59 -08:00

seirdy.one

sourcehut GitLab
mirror GitHub
mirror

builds.sr.ht status

Code for my personal website, seirdy.one. Built with Hugo.