I’m trying to generate a page that contains all my content in one file for printing purposes, at the /together end point.
This is easy enough if I create (a) a together/list.html template using .Site.Pagesand (b) a content/together folder with an _index.md file.
Is there a way of doing this without having to include the content/together folder and _index.md file? I want to preserve a sane content structure but generate this page dynamically.
you could have it in /content/ root and in the frontmatter give it a type = “” and a layout = “” to use and make a template at /layouts/type/layout.html
That’s literally the only place you can create a buildable page from. You could build a page from a file in the data folder but I think you still need to create that page from a file in content.