1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-21 12:53:15 +00:00

Overrides the list-links macro with its fr-FR counterpart

(instead of the core shadow tiddler itself)
This commit is contained in:
Xavier Cazin 2014-12-21 13:49:37 +01:00
parent f64ed6e48c
commit cb42ccf409

View File

@ -1,19 +1,22 @@
created: 20141127091159720
modified: 20141203144808981
modified: 20141221122727114
tags: $:/tags/Macro
title: $:/core/macros/list
title: $:/editions/fr-FR/Macros/list
type: text/vnd.tiddlywiki
\define list-links(filter,type:"ul",subtype:"li",class:"")
<!-- Essentially overriding $:/core/macros/list
so that the list item is rather labeled with fr-title
when present. -->
<$type$ class="$class$">
<$list filter="$filter$">
<$subtype$>
<$link to={{!!title}}>
<$view field="fr-title">
<$transclude field="caption">
<$view field="fr-title">
<$view field="title"/>
</$transclude>
</$view>
</$transclude>
</$link>
</$subtype$>
</$list>