I’m trying to use the Kirby query language on a pages field in order to only list the children of an unlisted page (services). The query seems to simply be ignored and either lists nothing with the template options activated, and all the site children without. Does anyone know how to solve this or could tell me what I am doing incorrectly?
I also tried using the site.search('services')
but ended up with the same issue.
/site/blueprints/site.yml
sections:
services:
label: services
type: pages
disabled: true
query: site.find('services')
image:
query: page.images.first
cover: true
max: 4
template:
- services-projektentwicklung
- services-zwischennutzung
- services-verkauf
- services-bewirtschaftung
Here is the structure of the content folder:
- content
- error
- home
- services
- 5_projektentwicklung
- services-projektentwicklung.txt
- 7_zwischennutzung
- services-zwischennutzung.txt
- 9_verkauf
- services-verkauf.txt
- 10_bewirtschaftung
- services-bewirtschaftung.txt
- services.txt
Thank you in advance.