I think this will do it:

<$list filter="[<currentTiddler>] 
-[{$:/DefaultTiddlers}splitregexp[\n]!is[blank]]">
...do things here only if the title of the current tiddler isn't in the 
list of defaults...
</$list>


On Saturday, May 16, 2020 at 1:39:48 PM UTC-7, Scott Kingery wrote:
>
> I can't seem to get the syntax for this correct...
>
> What I want to do is put something in my all my footers using 
> $:/tags/ViewTemplate but I only want to do it if the tiddler is not a 
> default tiddler. I think I need a nested list. Something like:
>
> <$list filter={{$:/DefaultTiddlers}}>
> ...do things here only if the title of the current tiddler isn't in the 
> list of defaults...
> </$list>
>
> This code works fine but I don't want to hard code the name of the default 
> tiddler:
> <$list filter="[is[current]!title[Home]]">
> This tiddler is not Home
> </$list>
>
> Thanks,
> Scott
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/069e3472-76e3-410f-a4f2-79524bdaa414%40googlegroups.com.

Reply via email to