brainbaking/content/notes/2022/08/16h19m23s20.md

1.0 KiB

date context
2022-08-16T19:23:20+02:00 https://roytang.net/2022/08/hierarchies-partials/

Hugo only generates the root my-post/index.html from posts/my-post/index.md. (I had to run Hugo first to test this.)

No it doesn't. That's completely up to the theme and usage of your _index.md files.

For example, I organize my Brain Baking content like so: content/post/2022/07/whatevah-title.md. Works flawlessly. Notes like these reside in content/notes/2022/08/timestamp.md. On Jefklak's Codex, it's the folders content/games/switch/some-game.md or content/articles/long-article-stuff.md.

I maintain the same structure in my static/ folder, making including media super-easy: ![](done.jpg). Just make sure to convert it to an absolute path in your RSS---that's what render-image.html is for.

If you really want to know, you can dig in the source of my Hugo themes. Again, this might be the fault of the sloppy docs and the arguably high learning curve.