title: Hugo site starts locally, only displays 404 on hosted GH page
body: <p>My Hugo site starts locally, but only returns a 404.html page when hit on GitHub Pages.</p>
  
  <p>I've tried re-instantiating the repo, rebuilding the site with different commands, pushing and deploying with the Hugo deploy script, and <code>rm -rf</code> the public folder and re-adding it.</p>
  
  <p>Repository: <code>https://github.com/jschalz/jschalz.github.io</code></p>
  
  <p>When following the <a href="https://gohugo.io/hosting-and-deployment/hosting-on-github/" rel="nofollow noreferrer">tutorial</a>, running <code>git submodule add -b master git@github.com:jschalz/jschalz.github.io.git public</code>:</p>
  
  <pre><code>'public' already exists in the index
  </code></pre>
  
  <p>Currently hosted at <code>https://jschalz.github.io</code>.</p>
  
  <p>I'd expect the site to come up with my pages (and I definitely have non-draft pages on there), but it's only returning 404.html. It's possible it's because I renamed the repo at one point, but I'm not sure. Troubleshooting ideas are very appreciated.</p>
  
  <p>UPDATE: The issue was that I didn't have an index.html, index.xml, or README.md in my repo. Fixed.</p>