1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +00:00
TiddlyWiki5/core/ui/PageTemplate/sidebar.tid
Jermolene 485ffae366 Refactor the page controls to be more reusable
Moving them into their own tiddler makes it easier to transclude them
elsewhere
2014-10-24 11:17:58 +01:00

30 lines
573 B
Plaintext

title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate
<$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>
{{$:/core/ui/PageTemplate/pagecontrols}}
<$transclude tiddler="$:/core/ui/SideBarLists" mode="inline"/>
</$reveal>
</div>
</$scrollable>