From e19e5d07bffbaa9f69203d2db4be76d2f62e3108 Mon Sep 17 00:00:00 2001 From: pmario Date: Mon, 18 Mar 2024 12:23:53 +0100 Subject: [PATCH] use v5.3.x syntax for $:/core/ui/PageTemplate/sidebar --- core/ui/PageTemplate/sidebar.tid | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/core/ui/PageTemplate/sidebar.tid b/core/ui/PageTemplate/sidebar.tid index 340b97c02..2d8e2bcac 100644 --- a/core/ui/PageTemplate/sidebar.tid +++ b/core/ui/PageTemplate/sidebar.tid @@ -2,16 +2,18 @@ title: $:/core/ui/PageTemplate/sidebar tags: $:/tags/PageTemplate \whitespace trim -\define config-title() $:/config/SideBarSegments/Visibility/$(listItem)$ +\function config-title() [[$:/config/SideBarSegments/Visibility/$(listItem)$]substitute[]] <$scrollable fallthrough="no" class="tc-sidebar-scrollable"> -
- <$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes" tag="div"> - <$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem"> - <$reveal type="nomatch" state=<> text="hide" tag="div"> - <$transclude tiddler=<> mode="block"/> - - - -
+ <$reveal state="$:/state/sidebar" + tag="div" class="tc-sidebar-header" + type="match" text="yes" default="yes" + retain="yes" animate="yes" + > + <$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem"> + <$reveal type="nomatch" state=<> text="hide" tag="div"> + <$transclude $tiddler=<> $mode="block"/> + + +