From f77198dadd908d7d180dbbad4407efe1e510b9ee Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Tue, 16 Aug 2022 19:30:42 +0200 Subject: [PATCH] note on Roys content hierarchies --- content/notes/2022/08/16h19m23s20.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 content/notes/2022/08/16h19m23s20.md diff --git a/content/notes/2022/08/16h19m23s20.md b/content/notes/2022/08/16h19m23s20.md new file mode 100644 index 00000000..12c65394 --- /dev/null +++ b/content/notes/2022/08/16h19m23s20.md @@ -0,0 +1,14 @@ +--- +date: 2022-08-16T19:23:20+02:00 +context: "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](https://git.brainbaking.com/explore/repos). Again, this might be the fault of the sloppy docs and the arguably high learning curve. \ No newline at end of file