Tag Cloud of only certain tags

I probably did this backwards, but I was making a list of books I have and added some tags. All of the book tiddlers share the tag “Book” - then each book has an additional 1-5 tags describing the subject matter.

I want to produce a list of all of these tags as pills, but excluding the Book tag, and with only one copy of each tag pill.

So far I have produced a list of all the books in a list with the title and tag pills, but I want just the pills, no titles, and no duplicates. I want to be able to then click on any tag pill and then have a list of all books that match. So how can I exclude the Book tag from showing?

Try this:

<$list filter="[tag[Book]get[tags]enlist-input[]unique[]] -[[Book]]">
   <<tag>>
</$list>

-e

1 Like

@EricShulman you are so sexy it almost embarrassing

That is perfect. Now I am trying to figure out how to sort the results alphabetically. You’d think that would be simple, that I could just easily find an example in the docs…

1 Like

ok, found it - just added sort[] after unique[] and all is good!