1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 06:19:57 +00:00

use v5.3.x syntax for $:/core/ui/PageTemplate/sidebar

This commit is contained in:
pmario 2024-03-18 12:23:53 +01:00
parent e809f6c4d3
commit e19e5d07bf

View File

@ -2,16 +2,18 @@ title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate tags: $:/tags/PageTemplate
\whitespace trim \whitespace trim
\define config-title() $:/config/SideBarSegments/Visibility/$(listItem)$ \function config-title() [[$:/config/SideBarSegments/Visibility/$(listItem)$]substitute[]]
<$scrollable fallthrough="no" class="tc-sidebar-scrollable"> <$scrollable fallthrough="no" class="tc-sidebar-scrollable">
<div class="tc-sidebar-header"> <$reveal state="$:/state/sidebar"
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes" tag="div"> tag="div" class="tc-sidebar-header"
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem"> type="match" text="yes" default="yes"
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div"> retain="yes" animate="yes"
<$transclude tiddler=<<listItem>> mode="block"/> >
</$reveal> <$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
</$list> <$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
</$reveal> <$transclude $tiddler=<<listItem>> $mode="block"/>
</div> </$reveal>
</$list>
</$reveal>
</$scrollable> </$scrollable>