\define List_Articles(article)
    <!-- find all tiddlers that have field article = this tiddler  -->
    <$list filter="[field:article[$article$]]" variable="article_tiddler">
        <!-- Show the contents of that tiddler  -->
        <$transclude tiddler=<<article_tiddler>> field="text" mode="block"/>
        <!-- wrap the next bit in a styled span -->
        <span class="source">
             <!-- Provide a link that will open that tiddler -->
             <$link to=<<article_tiddler>> >
                    <!-- Display the source field of that tiddler (not the 
title) -->
                    <$view tiddler=<<article_tiddler>> field="source"/> - 
                    <!-- Display the modifed date of that tiddler -->
                    <$view tiddler=<<article_tiddler>> field="modified" 
format="date" template="YYYY MMM"/>
              </$link>
         </span>
         <hr>
    </$list>
\end

<$macrocall $name="List_Articles" article={{!!title}} />


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e86edf97-f4ad-4dfc-b5ef-2521a0d79d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to