We have a files blueprint with a tags field which gets tags options from the children of data-tags.
fields:
tags:
type: tags
accept: options
options:
type: query
query: kirby.page("data-tags").childrenAndDrafts
text: "{{ page.title }}"
value: "{{ page.uuid }}"
This store the page.uuid example:
Tags: page://6FCi7U2H8h41PV7D, page://93ixticzxzv1PB4d
In the panel, we have a page documents, where we have section files with layout table.
Question1: How can we display the data-tags child title in stead of the data-tags- child page uuid?
We have the column below:
tags:
label: Tags
value: "{{ file.tags }}"
Documents:
Question 2:
In the Data-tags page we also have a section of pages with the table layout.
How can we display the count of document for each tags:
We have the column below:
documents:
label: Documents
value: "{{ site.find('documents').files.filterBy('tags',$page->uuid(), ',').count }}"
