Hi @dixonge - hard to say what caused your 404. I have seen that when I had enabled gitinfo in the config, but hadn’t yet committed the project to git. Another time was, I changed how the permalinks were being generated in config.toml, and that caused trouble. I got a bunch of 404s because my links all got broken and were kind of half cached. Restarting hugo and the browser fixed that particular one. It’s just hard to say what happened on your machine, though.
Sometimes, posts/pages won’t show or be generated, if draft is set to true, in frontmatter.
_index.md please see:
As for sharing your code, besides a git repo, you can also zip your project up and share it via Google Drive or Dropbox etc, if you are not used to git yet. The point being, it’s simple for anyone to run
hugo server on an already built project, than it is to try to recreate by guessing.
Also you can use the verbose switch to get more info, like:
hugo server --verbose