This question has certainly an obvious answer but I can’t find it. How to get a static page in the root of the site using a non-index template?
Now I have a home.md file in the content folder using the landing.html template, which inherits from index.html and I can see my site at /home.
If I rename home.md to index.md (still having the same template in the front matter), looking at / gives me the page rendered with the index.html template. WTF’s happening? Expected behavior would be to use the landing.html template, wouldn’t be?
Thanks for the answer! I think I was stuck because I wanted to create a page and not a section. I still do not really get the difference between the two. I’m pretty sure I already tried this option but may not have understood the error message saying Reason: Variable `page.extra` not found in context while rendering 'landing.html'. It was actually looking for a section variable, not a page one.
I’m coming from pelican and I am not familiar with this concept. Thanks a lot for this very good piece of software, I’ll maybe write a “dumb-beginner’s tutorial” for people like me who are not good enough at reading the doc