Heyho,
tldr: How can I call the entire content of all pages with page collections?
I'm new to grav and my php skills are quite limited. However I have already built a couple of websites with another flat file cms and wanted to try out grav and I like it so far.
I'm trying to build a onepager portfolio site with a straightforward content structure. There will be 10-15 projects each with 5 custom fields and some images. However there is a lot of content and so I thought, the modular page approach is not the right one. Please correct me, if I am wrong here.
I wanted to build a page for each project, and then call all project-pages on one page with Page Collections.
{% for p in page.collection %}
{{ p.content }}
{% endfor %}
only outputs the content of the homepage, {{ p.title }} works though.
This is how I use Page Collections in the frontmatter of the homepage.
content:
items: '@self.siblings'
How can I call the entire content of all pages with page collections? Or is it the wrong approach to build pages first?
Kind Regards,
luap