cover:
required: true
label: Cover (max. 2)
type: files
uploads: false
query: site.images.add(model.images)
text: "{{ file.name }}{{ file.parent.title == page.title ? '' : ' — Global' }}"
info: "{{ file.parent.title }}"
max: 2
I’m thinking page.title
is not available inside the file-query? Am I right?