mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 02:20:28 +00:00
097c87fa7b
Fixes #2758
28 lines
623 B
Plaintext
28 lines
623 B
Plaintext
title: $:/core/ui/PageTemplate/sidebar
|
|
tags: $:/tags/PageTemplate
|
|
|
|
\define config-title()
|
|
$:/config/SideBarSegments/Visibility/$(listItem)$
|
|
\end
|
|
|
|
<$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>
|
|
|
|
</$scrollable> |