mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Overrides the list-links macro with its fr-FR counterpart
(instead of the core shadow tiddler itself)
This commit is contained in:
parent
f64ed6e48c
commit
cb42ccf409
@ -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>
|
Loading…
Reference in New Issue
Block a user