thank you for your quick reply.
hmm, the data file approach seems too hacky in this case, just using index.html in lauyouts seems better.
Just to explain: I would like to enable non-technical users to create content easy, so I would like to avoid any editing of html or any “hacky” solution. Just editing md files seems ok until you come to that special handling of the index.html file by hugo.
I do not understand why I just can not have a simple index.md file in the content folder - this is a limitation that does not make sense. All the auto-generation features for an index.html page could be preserved, from what I understand.
What is more problematic is that the content editing logic is broken here - no non-technical user will ever understand why he just can not edit the most important file of the website, index.md - “well, it generates stuff” will noty be a good answer, he will say “just generate that stuff anyway or optionally, but please let me edit my homepage!”
Just to explain the usecase a little bit.
Maybe any other solution to this? How can I allow to edit the homepage?
Thanks!