I have the _index.md files included in every folder, but for better readability I left these out in this example. “index.html” is of course “_index.md” here. Sorry for the confusion, you can ignore it.
This is what I’m trying to accomplish now:
- I would like to remove the /posts section from URL; so the end user only sees the directories AFTER /posts, like here https://www.myhugosite.com/author1 or https://www.myhugosite.com/author1/topic/post2
The /posts folder is only FOR ME to organize my content and should not be relevant for the page at all. I already tried out Permalinks. It’s working, but I can’t get rid of /posts without breaking the page structure. /posts keeps rendering, even if I include this into the Frontmatter:
_build:
render: never
list: never
Is there a way how I can completely ignore the /posts section and make the Author directories the first subdirectory without deleting the /posts folder?
- I would like to create slightly different Headers for every author (different Name and Image) + make different Head Layouts for e.G. Table Pages, Link-Lists and so on because I use different CSS files for the sites.
That’s why I was asking for a more detailed Layouts tutorial because it’s a bit more complicated what I’m trying to do. As a beginner this can be very overwhelming