Hello,
I’ve created a system that generates a Hugo site and deploys it to GitHub Pages using GitHub Actions.
- The site works fine on GitHub Pages (online).
- However, locally, when I run
hugo server, I get a “Page Not Found” error.
What I’ve tried so far:
- I’ve updated the
baseURLinconfig.tomlto match my local environment (http://localhost:1313/). - I’ve created a new post, but still get the “Page Not Found” error.
I am able to deploy to GitHub Pages without issues, but I cannot view the site locally.
Repository:
Here’s the link to the GitHub repository I’m working with:
https://github.com/wilonweb/test-template
And here the webpage
https://wilonweb.github.io/test-template/