I’m trying to list all my blog posts on the site’s homepage (/
), which uses templates/home.html
.
My posts are organized in nested directories under content/blog/
(e.g., content/blog/2025/05/my-post/index.md
).
I’ve tried using {% set blog_section = get_section(path="blog/_index.md") %}
and looping over blog_section.pages
in home.html
, but this seems to only get posts directly under content/blog/
, not the nested ones. I also tried configuring the root content/_index.md
with paginate_path = "blog"
, but the paginator.pages
in home.html
didn’t seem to contain the nested posts correctly.
Is there an idiomatic Zola way to get all pages (recursively) from the /blog/
section and display them on the homepage (/
) template, without requiring every post to have a specific taxonomy term?
Thanks!