Hello!
I have troubles query from the tag on the site blueprint in another page. It works for php but not in yml.
Here is the tag on the site.yml:
- width: 1/2
sections:
notes: sections/projects
pages: sections/pages
offices: sections/offices
# The `notes` section reuses the pages section defined in `/site/blueprints/sections/notes.yml`
meta:
type: fields
fields:
tags:
label: Tags
type: tags
And here I tried to implement it:
categories:
label: Categories
type: multiselect
min: 1
max: 4
options: query
query: site.tags
or here:
categories:
label: Categories
type: multiselect
min: 1
max: 4
options: query
query: site.index.pluck("tags", ",", true)
both are not working. The secound gives the tags of the subpages…
I think there must be a simple solution. Thanks ahead!