Repository Link: https://github.com/darrenaddy/1
Using Hugo Extended v0.100.2
In my content folder I have a folder named “machine”. I gave the directory an _index.md so it would be considered a section (I will not actually need a page generated at /machine/index.html
Inside the machine directory I want to have a separate page bundle for each machine.
It is generated in the content folder (with the proper machine front matter) with:
hugo new machine/Machine_Name/index.md
In the front matter of this page “draft” is set to false.
Machine_Name should now be a leaf bundle and I can put page resources like images in there.
But when I generate the static site the machine directory (and the page that should be found at
/machine/Machine_Name/index.html) are not generated.
I have created a layout named machine.html and put it in my theme’s _default layout directory. (I first tried creating a theme_name/layouts/machine/single.html but that did not work either.
What am I missing?
Also, why in my repository is there a content/Machine (capitalized)? I used lowercase (machine) for everything (directory name, layout name, archetype directory). I’m definitely confused somewhere.
Thanks in advance for any replies.