This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.

Ex:BacklinksConditionalDisplay/answer

7th February 2021 at 3:57pm

The portion that needs to be wrapped in a $list widget is the part that calls the macros – trying to wrap the macros won't end well because pragmas have to be the first thing in their tiddler.

<$list filter="[all[current]links[]] [all[current]backlinks[]] +[first[]]" variable=_>
    <!-- begin part that was already there -->
    <div class="sib-link-display">
        <<linkDisplay "Links" "links[]" "sib-links">>
        <<linkDisplay "Backlinks" "backlinks[]" "sib-backlinks">>
    </div>
    <!-- end part that was already there -->
</$list>
Go to question: Ex:BacklinksConditionalDisplay