You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be a great to be able to get all pages by using @page: /
Also to be able to get not only children of the current hierarchy level but all beneath it when using @page: /level2.
The text was updated successfully, but these errors were encountered:
This is because @page: / is actually an alias to the homepage, and the homepage may have children but is not really the root of all pages. The homepage could could be any page in grav as it's configurable.
Also I added support for an extra param like this:
content:
items:
'@page': ['@root', true]
When set to true, all pages below will be included. This also works for regular pages:
content:
items:
'@page': ['/blog', true]
Combined with the new multi-collection support (#361), page collections are now much more flexible.
It would be a great to be able to get all pages by using @page: /
Also to be able to get not only children of the current hierarchy level but all beneath it when using @page: /level2.
The text was updated successfully, but these errors were encountered: