1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-04 00:56:17 +00:00
TiddlyWiki5/core/ui/PageTemplate/sidebar.tid

39 lines
881 B
Plaintext
Raw Normal View History

title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate
2014-07-29 09:20:13 +00:00
\define config-title()
$:/config/PageControlButtons/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">
2014-08-28 18:41:29 +00:00
<h1 class="tc-site-title">
<$transclude tiddler="$:/SiteTitle" mode="inline"/>
</h1>
2014-08-28 18:41:29 +00:00
<div class="tc-site-subtitle">
<$transclude tiddler="$:/SiteSubtitle" mode="inline"/>
</div>
2014-08-28 18:41:29 +00:00
<div class="tc-page-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
2014-07-29 09:20:13 +00:00
<$reveal type="nomatch" state=<<config-title>> text="hide">
<$transclude tiddler=<<listItem>> mode="inline"/>
2014-07-29 09:20:13 +00:00
</$reveal>
</$list>
</div>
<$transclude tiddler="$:/core/ui/SideBarLists" mode="inline"/>
</$reveal>
</div>
</$scrollable>