I am working on a website where all the content (images, files …) has several tags. All the tags are displayed as a list and you use them to navigate the content, the idea is be able to use them combined. So for example selecting the tags ‘book’, ‘2021’ and ‘red’ and all the content related to these tags from all the projects will be displayed.
As I understand that would be very easy to achieve using a database CMS but in Kirby I don’t know if it is possible to query from different pages at once and also combine.
The current structure is:
Projects
Project A
File A-1 (tag-A, tag-C)
File A-2 (tag-B, tag-C)
Project B
File B-1 (tag-B)
File B-2 (tag-A, tag-C)
Project C
File C-1 (tag-C)
File C-2 (tag-A, tag-B)
So in the page I have the list of tags displayed: Tag-A, Tag-B, Tag-C
And if I click on the Tag-B for example, all the files matching that tag from all the pages will be displayed.
But I am not sure how this method can work for fetching several tags.
The idea is that once you click one and the content displayed you could click another one and the files will be added with the ones already displayed from the previous selection.