Hey guys, I am using the blog skeleton and am wanting to have the post.md file within a post folder, along with an email.md file. The email.md file will have the markdown content for the blog post related email template we will setup as a twig template file. Couple of questions:
Is the above possible?
Is it possible to build a template page that uses the YAML data from the post.md file and used the markdown content from the email.md file?
Each folder should have only one unique .md file. Grav will grab the first .md file it comes across and the other will be ignored.
I think the second question is really what your trying to achieve, and yes this can be done, but you need to set up each .md file in their own folders. Then you can access multiple .md files from within a twig template by finding the second page and assigning the content to a variable: