I read in the Changelog for 0.9.42 that Grav now supports multiple collections. But there seems not yet any documentation how this is supposed to work. Any hints would be appreciated as this would be a useful feature.
Archive
On your page where you are defining the content items collections (ie blog list view) you can simply add another, for example:
YAML
content:
items:
@taxonomy.category: blog
@self.modular: true
This will add all pages with taxonomy category: blog and also the modular child pages to the collection.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1336 | 9 years ago | ||
| 2 | 926 | 9 years ago | ||
| 2 | 4056 | 9 years ago | ||
| 1 | 2941 | 9 years ago | ||
| 3 | 1112 | 9 years ago |