See also my answer to a similar question recently, where I store reusable components in subdirectories of pages/components and then the dreaded page.find()
hughbris
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is it possible to access account data from twig variables? | 1 | 500 | April 19, 2017 | |
| How can I use saved data from a form in a page template? | 1 | 315 | June 9, 2016 | |
| Store and read data in grav | 7 | 6452 | September 3, 2017 | |
| Add a site-wide variable to twig based on a config setting | 1 | 431 | September 26, 2022 | |
| Can i pull in some code blocks from within a seperate file? | 13 | 346 | January 7, 2015 |