photo of the author

January 6, 2021

If you’re trying to turn on GitHub Pages for a Hugo theme repository, the configuration files in your theme might make GitHub Pages (Jekyll, really) confused. I successfully got GitHub Pages to serve the site using the README.md after adding a _config.yml file for Jekyll with:

exclude: ["exampleSite", "theme.toml"]