mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Tweak of the list-links macro in order to display caption fields if present
This commit is contained in:
parent
6626da9b3b
commit
c26bd4c5a8
@ -6,7 +6,9 @@ tags: $:/tags/Macro
|
||||
<$list filter="$filter$">
|
||||
<$subtype$>
|
||||
<$link to={{!!title}}>
|
||||
<$transclude field="caption">
|
||||
<$view field="title"/>
|
||||
</$transclude>
|
||||
</$link>
|
||||
</$subtype$>
|
||||
</$list>
|
||||
|
@ -2,6 +2,7 @@ created: 20140320230543190
|
||||
modified: 20140916121854696
|
||||
tags: HelloThere Community
|
||||
title: Examples
|
||||
caption: Examples of ~TiddlyWiki being used in the wild
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
This collection showcases inspiring and interesting examples of TiddlyWiki being used in the wild.
|
||||
|
@ -7,7 +7,7 @@ The list macro is a family of macros that produce a list of tiddlers.
|
||||
|
||||
There are several variants of the macro:
|
||||
|
||||
* `<<list-links>>` produces a list of links to tiddlers that match a filter expression
|
||||
* `<<list-links>>` produces a list of links to tiddlers that match a filter expression. If the tiddler has a //caption// field, it is displayed in lieu of the //title// field.
|
||||
|
||||
! Parameters
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user