I have this custom block. Here you can select a page of the template type fragment. I would like to output the title in the label so that the user knows which fragment he has selected. Fragment itself is an object in the blueprint output, but I cannot access title of fragment.
- type: Fragment
name: Fragment
label: '{{ fragment.title }}'
icon: 🧩
fields:
fragment:
type: pages
text: "{{ page.title }}"
max: 1
query: site.children.template('fragments').children()