Any suggestions to fix this?
I would guess it’s how your css paths are constructed. Browsing, for example this page gets 404s on the console for missing assets.
It’s also weird to note that the Netlify website deploy preview works fine for the 404’s, but then we we actually deploy with GitHub Pages, the 404 works differently…
For reference, this is where our css paths are setup: https://github.com/JuliaLang/www.julialang.org/blob/09fa198b4f6b8449a3d0f74cf1a2733ce7b10047/layouts/partials/head.html#L14
When you look a the sourcecode here:
Your stylesheets links are incorrect:
<link rel="stylesheet" href="./v2/css/bootstrap.min.css" /> <link rel="stylesheet" href="./v2/css/app.css" /> <link rel="stylesheet" href="./v2/css/fonts.css" />
I’m not entirely sure why this is happening, but there are a couple things to try. First, you may want to try changing the baseURL in your config to include the protocol. Currently it is set to:
Try changing this to:
If that doesn’t fix it, then you could also just get rid of the
absURL function for those links here:
Switching to HTTPS for the base URL did the Job! Thanks!