1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/ui/PageTemplate/sidebar.tid
Jermolene bc9b67cbc3 Use H1 for page title and H2 for tiddler titles
Ideally, we’d also rebase the headings within tiddlers so that `!
Heading` would be an H3. Hopefully we’ll do that later.
2014-06-16 17:34:20 +01:00

38 lines
730 B
Plaintext

title: $:/core/ui/PageTemplate/sidebar
tags: $:/tags/PageTemplate
<$scrollable fallthrough="no" class="tw-sidebar-scrollable">
<div class="sidebar-header">
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes">
<h1 class="tw-site-title">
<$transclude tiddler="$:/SiteTitle" mode="inline"/>
</h1>
<div class="tw-site-subtitle">
<$transclude tiddler="$:/SiteSubtitle" mode="inline"/>
</div>
<div class="tw-page-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
<$transclude tiddler=<<listItem>> mode="inline"/>
</$list>
</div>
<$transclude tiddler="$:/core/ui/SideBarLists" mode="inline"/>
</$reveal>
</div>
</$scrollable>