zola
zola copied to clipboard
Don't render pages within a section
Hi I'm trying to take some markdown files that follow the same pattern and render them onto one page. I want to organize them within a section, however I don't want to render the actual markdown files, only _index.md
. I have not found anyway to tell Zola to not render pages within a section. I'm essentially trying to take advantage of a for loop to render each page onto index.html
.
No way to do that right now. I don't think it's planned either.
Ok cool, so I'll have to remove the files after build process then and I guess from the sitemap too. I guess I can do that, there aren't too many pages. Should I keep this issue open?
Sure
Would adding a "render_pages" front-matter variable for sections and/or a "render" front-matter variable for pages be accepted as a pull request?
I'd also love to be use unrendered markdown pages this way.
Interested in this topic as well. Would be great to have a render front-matter for single pages as well. Any news on that?
We could add render
to pages and a render_pages
to sections.
What would happen if render_pages = false
and a page in it has render = true
though? I would say ignore the page