Hi, I’m trying to deploy my site to github pages, but it seems to only be the bare HTML, without any styling. Running
hugo server deploys with the theme (I am using the Hyde theme), but not to the github pages site. I’ve searched other similar questions and it seems to be a problem of the site not being able to find the css files, but I’ve changed all the paths I’ve found to my .github.io and it still doesn’t work. What am I doing wrong?
A link to the site repo: https://github.com/ayc3ue/ayc3ue.github.io/
Your website on GitHub.io uses
https, but the CSS links in the HTML page use
<link rel="stylesheet" href="http://ayc3ue.github.io/css/font-awesome.min.css">
<link rel="stylesheet" href="http://ayc3ue.github.io/css/style.css">
<link rel="stylesheet" href="http://ayc3ue.github.io/css/highlight/default.css">
You probably need to change your
baseURL setting in the configuration file to
https://ayc3ue.github.io instead of
http://ayc3ue.github.io to make it work.
At least when I change those URLs to their
https version in Firefox’s developer tools, your website works fine for me.