Hello there,
I just reading through the Gantry 5 docs and I’m wondering how gantry handels modular grav pages concept.
I found the approach of Hibbitts Design …
https://github.com/hibbitts-design/grav-gantry-particle-inject-page/blob/master/inject_page.html.twig
But there you have to define the page in the particle. Is this the only way to deal with the modular page concept or did I get something wrong?
I would really like to use gantry! It seems like the perfect tool for giving the user the possibility to really change the layout in a easy and fun way.
Best Regards,
Michael
Update:
I have an example szenario. When using grav I can define a template and use the template on multiple sites. Furthermore I’m able to define blueprints, wich help the user to fill the page with content and modular pages wich cotains certain parts of the page.
Can somebody explain how to solve this case with gantry? Do I need to build multiple layouts for the same kind of page, because there is always unique content for certain particles, or do I need to build special particles wich using twig for reading the assigned Data?
** Another Update **
I’ve installed Helium Skeleton and saw that modular pages were used ( slug: /pages/modular/_features ). There are 3 possible modular templates (Features, Showcase,Text) but I don’t see where they are defined. I dont see them in the helium theme folder. Can somebody tell me if they re just part of the core, or is there a way to define them even if i use gantry?