I currently have a directory structure where I have a section “publications” with many pages. I am reading the publication data to list them on the home page, but I do not want separate per-publication pages to be rendered. Is there a way to do this cleanly? I would like to have something similar to the render attribute for Section. For example, I was able to prevent /publications section page from being rendered by setting render = false.
You could store the metadata in the section extra or use TOML/JSON file and use load_data instead. I don’t think there is a way to avoid rendering a page but still be able to load it from templates right now.
I’m bumping against this problem as well. I’d love to store content in pages in a section that can easily be rendered using load_page() in a more complex but that don’t generate stand-alone pages.
Can’t we allow pages to also use render = false in fontmatter? Would this be a simple addition?
Hi @keats !
I may have a PR ready for a front matter render flag as described by @edward to prevent generating folder with a html file for a specific page. Would that feature have a prospect of being merged?
Just adding to the chorus - I could really use this feature also, or (better yet) a section frontmatter key applying render = false to all section pages, for this use.