I just installed hugo via homebrew on a mac. I created a project and followed the directions here Content organization | Hugo
Specifically:
Without any additional configuration, the following will just work:
But when I do that, the only page under “posts” that gets created is index.xml. I was expecting pages to be rendered but they are not.
After some trial and error, if I create “content/post” (singular) then the md pages under there get generated as expected.
Maybe more generally, I can’t seem to get sections to work as explained Sections | Hugo
Per the docs, I shouldn’t need an _index.md file in the root sections … but again, when I create something like “content/blog/firstpost.md” the only thing that gets created in “public” is “blog/index.xml” … which does, in fact, contain references to all the files I’ve created … complete with link and guid. But the link value refers to a path that does not actually work. Hugo is not actually creating those posts.
Is there something I am missing?