Hugo page hosted on GitHub pages doesn't work

Hello.

I tried to use one of the hugo themes and host it on GitHub pages. This is the theme I’m using.

I uploaded the files on my GitHub repository without any problems. While it works fine when I run “hugo server” command on my pc locally (localhost:1313), the website doesn’t load on GitHub pages.

""File not found The site configured at this address does not contain the requested file. If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file."""

In your geogc.github.io repo you need to host the final generated page and not the source code that you use to build it.

1 Like