How to hide a custom viewtemplate from tiddlers with certain tag

Hi everyone,

I have a custom viewtemplate tiddler. It currently appears under all tiddlers. I would like it to be hidden when the tag of the tiddler is .meta. Is there a way to do that, now that we have cascades?

1 Like

Assuming that you want it to continue to appear below your other/default viewtemplates (rather than replacing them), it’s actually easiest just to wrap all the custom viewtemplate code in a $list widget, so it will be conditionally displayed:

<$list filter="[<currentTiddler>!tag[.meta]]" variable="ignore">
Your custom template
</$list>

That worked great! Thanks Emily!