1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-01 15:46:18 +00:00
TiddlyWiki5/core/ui/PageTemplate/sidebar.tid

30 lines
641 B
Plaintext
Raw Normal View History

title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate
\whitespace trim
2018-08-02 12:22:21 +00:00
\define config-title()
$:/config/SideBarSegments/Visibility/$(listItem)$
\end
2014-08-28 18:41:29 +00:00
<$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">
2018-08-02 12:22:21 +00:00
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
2018-08-02 12:22:21 +00:00
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
2018-08-02 12:22:21 +00:00
<$transclude tiddler=<<listItem>> mode="block"/>
2018-08-02 12:22:21 +00:00
</$reveal>
2018-08-02 12:22:21 +00:00
</$list>
</$reveal>
</div>
</$scrollable>