mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-03 06:49:58 +00:00
20 lines
666 B
Plaintext
20 lines
666 B
Plaintext
title: $:/core/ui/PageTemplate/sidebar
|
|
tags: $:/tags/PageTemplate
|
|
|
|
\whitespace trim
|
|
\function config-title() [[$:/config/SideBarSegments/Visibility/$(listItem)$]substitute[]]
|
|
|
|
<$scrollable fallthrough="no" class="tc-sidebar-scrollable">
|
|
<$reveal state="$:/state/sidebar"
|
|
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">
|
|
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
|
<$transclude $tiddler=<<listItem>> $mode="block"/>
|
|
</$reveal>
|
|
</$list>
|
|
</$reveal>
|
|
</$scrollable>
|