Continuing from my previous efforts, I’d like to apply a ViewTemplate to numerous tags, unknown in advance. All the relevant tags will themselves be tagged with a common tag, kind. I thought about using the tagging operator as I did before, but it doesn’t work:
title: coffee
tags: kind
title: Americano
tags: coffee
title: tea
tags: kind
title: Earl Gray
tags: tea
Given the above, the following should be applied to Americano and Earl Gray because they’re both tagged with something that is itself tagged with kind
title: .templateItem
tags: $:/tags/ViewTemplate
text:
<$list filter="[all[current]tag[kind]tagging[]]"> <!-- Does NOT work :-( -->
<!-- blah blah -->
</$list>
I thought the tagging operator would work similarly to how I used it before, but I’m obviously missing something. How should I build the above filter?