I am trying to implement an edit template but only for those tiddlers with the tag Image Link
I am using this code:
<$list filter="[all[current]tag[Image Link]]" />
<$let
baseURL={{{ [{$:/TLS/onlineImages!!onlineimageURL}] }}}
onlineURL={{!!imageURL}}
>
<$image source={{{ [<onlineURL>] }}} loading="lazy" >
<$image source={{{ [<baseURL>addsuffix<onlineURL>] }}} loading="lazy" />
</$let>
</$list>
What I am noticing is shown in this screen dump:
the strings at the bottom of the window, an unfound image and closing let
and list
statements that disappear if I remove the edit template tag. So the edit template is being applied when it should not be.
I expected the starting list statement to only pass those tiddlers with the tag Image Link but this is obviously not so.
What am I doing wrong?
bobj