Query Tags in File

Hello

Is it possible to query tags in a file blueprint from the Page the file is attached to?

# Page Blueprint product.yml` 
  variations:
        type: tags
        separator: "|"

I only managed to get the tags from all Pages with “site.index.pluck”

# File Blueprint product-image.yml   
  variationselect:
        type: select
        options: query
        query: site.index.pluck("variations", "|", true)

Should be

query: file.parent.variations.split("|")
1 Like