I’m trying to fetch the first image of a child page if the cover field of the current page is empty,
but it doesn’t work. Is it possible to use the or
fallback in Query Syntax?
#blueprint
projects:
label: Projekte
type: pages
query: page("projects").children
image:
query: page.cover.tofile.or(page.children.images.first)
cover: true