|
Hi, Then I update the baseurl from config.toml file to match my github addresse : "pled.github.io/my-hugo". And exactly like in the video, I loose CSS in the web page being displayed. Like in the video, I restart the hugo server, and this is where I get "404 page not found" . I deleted everything and follow the steps again : still the same. No way to display the server again from the temporary address, unless I set baseurl back to default. NOTE after a commit, the "official" "pled.github.io/my-hugo" site is displayed as expected. What am I doing wrong ? From my understanding, it is a bit annoying because if I make a change to the theme, I cannot see it in action unless I push a new commit. Thank you for your help, and sorry for the (probably) noob question. |


Hi! I have tried to reproduce the issue in GitHub Codespace, but unfortunately I haven't been able to:
I have changed baseurl to point to a subfolder:
And once the server has started, the URL without subpath will give 404 (this is correct behavior), and the URL with subpath should still work:
Have you managed to solve the problem at the end?