mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-05 23:10:28 +00:00
make $:/core/ui/PageTemplate/sidebar human readable
This commit is contained in:
parent
31ec1bdd50
commit
e809f6c4d3
@ -2,28 +2,16 @@ title: $:/core/ui/PageTemplate/sidebar
|
||||
tags: $:/tags/PageTemplate
|
||||
|
||||
\whitespace trim
|
||||
\define config-title()
|
||||
$:/config/SideBarSegments/Visibility/$(listItem)$
|
||||
\end
|
||||
\define config-title() $:/config/SideBarSegments/Visibility/$(listItem)$
|
||||
|
||||
<$scrollable fallthrough="no" class="tc-sidebar-scrollable">
|
||||
|
||||
<div class="tc-sidebar-header">
|
||||
|
||||
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||
|
||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||
|
||||
<$transclude tiddler=<<listItem>> mode="block"/>
|
||||
|
||||
</$reveal>
|
||||
|
||||
</$list>
|
||||
|
||||
</$reveal>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tc-sidebar-header">
|
||||
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes" tag="div">
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||
<$transclude tiddler=<<listItem>> mode="block"/>
|
||||
</$reveal>
|
||||
</$list>
|
||||
</$reveal>
|
||||
</div>
|
||||
</$scrollable>
|
||||
|
Loading…
Reference in New Issue
Block a user