mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
c7b4febae3
We get a significant speed improvement of >10% by rearranging filter operators to bring to the front the operators likely to reduce the size working list.
26 lines
601 B
Plaintext
26 lines
601 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">
|
|
|
|
<div class="tw-site-title">{{$:/SiteTitle}}</div>
|
|
<div class="tw-site-subtitle">{{$:/SiteSubtitle}}</div>
|
|
|
|
<div class="tw-page-controls">
|
|
|
|
<$list filter="[all[tiddlers+shadows]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
|
|
|
|
</div>
|
|
|
|
{{$:/core/ui/SideBarLists}}
|
|
|
|
</$reveal>
|
|
|
|
</div>
|
|
|
|
</$scrollable>
|