Closed JasonYao closed 3 years ago
Some thoughts:
[x] Occasionally the site will load with unstylized assets, and other times it will load just fine
[x] The /resume/
path doesn't work for some reason, even though I can see the generated index.html file just fine
[x] 404 page doesn't show up, even though it's generated correctly
Issue with the weird unstylized assets on firefox is related to this issue mentioned here: https://github.com/envygeeks/jekyll-assets/issues/582#issuecomment-564347020
In theory FF's bug is fixed, but since we're still seeing it now 5 years later, i'm going to give the workaround a try, and use sha-384 instead of the SHA-256/512 ones
manual SHA generation can be done with https://www.srihash.org/, and docs for doing this in hugo can be found at https://gohugo.io/hugo-pipes/fingerprint/
Nice, swapping all SHA integrity hashes to SHA-384 now causes everything to work as expected (changeset in https://github.com/JasonYao/JasonYao.github.io/commit/9d9baface42329e668953071fece4b1f6e85710e)
For the /resume
path not showing up, I think I figured it out- it's because my github repo is called resume
, so because of that path, it delegates to the repo, but that repo doesn't have an index.html file.
Some solutions:
resume/index.html
file to the publishing branch in the resume repowork
, business
, cv
, etc.)resume/index.html
as a one-time thing for now, and add in to CD later~For now, I'll go with option 1~ Chose option 3 since it's now working to get other stuff working, and making an issue to wire into CD
Resume route now fixed with https://github.com/JasonYao/resume/commit/f5a3b27206fcc1b6a9abd93f25d50d842a8a3523
make sure that this won't mess up existing MX records for email delivery, or the current builds for resume/ other builds.
It actually might, since we'd in theory be pointing it to 2 different hosts. got to think through this a bit, and either bite the bullet and migrate other repos off of github (ideally not because laziness and vendor lock-in to netlify), or see if there's an alternative possible