mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
f223310d34
Part of #764
39 lines
881 B
Plaintext
39 lines
881 B
Plaintext
title: $:/core/ui/PageTemplate/sidebar
|
|
tags: $:/tags/PageTemplate
|
|
|
|
\define config-title()
|
|
$:/config/PageControlButtons/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">
|
|
|
|
<h1 class="tc-site-title">
|
|
|
|
<$transclude tiddler="$:/SiteTitle" mode="inline"/>
|
|
|
|
</h1>
|
|
|
|
<div class="tc-site-subtitle">
|
|
|
|
<$transclude tiddler="$:/SiteSubtitle" mode="inline"/>
|
|
|
|
</div>
|
|
|
|
<div class="tc-page-controls">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
|
<$reveal type="nomatch" state=<<config-title>> text="hide">
|
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
|
</$reveal>
|
|
</$list>
|
|
</div>
|
|
|
|
<$transclude tiddler="$:/core/ui/SideBarLists" mode="inline"/>
|
|
|
|
</$reveal>
|
|
|
|
</div>
|
|
|
|
</$scrollable> |