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:
parent
e809f6c4d3
commit
e19e5d07bf
@ -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"
|
||||||
|
type="match" text="yes" default="yes"
|
||||||
|
retain="yes" animate="yes"
|
||||||
|
>
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||||
<$transclude tiddler=<<listItem>> mode="block"/>
|
<$transclude $tiddler=<<listItem>> $mode="block"/>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</$list>
|
</$list>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</div>
|
|
||||||
</$scrollable>
|
</$scrollable>
|
||||||
|
Loading…
Reference in New Issue
Block a user