2024-10-25 17:57:04 +00:00
|
|
|
title: $:/themes/tiddlywiki/vanilla/ui/sidebar-resizer
|
2024-10-25 04:19:28 +00:00
|
|
|
tags: $:/tags/PageTemplate
|
|
|
|
list-after: $:/core/ui/PageTemplate/story
|
|
|
|
|
2024-10-26 09:23:14 +00:00
|
|
|
\import [function[get.base.functions.theme],{$:/theme}first[]!is[missing]] :else[function[get.base.functions.theme],{$:/theme}first[]is[shadow]] :else[[$:/themes/tiddlywiki/vanilla/functions]] [[$:/core/macros/sidebar-resizer]]
|
2024-10-25 04:19:28 +00:00
|
|
|
\whitespace trim
|
|
|
|
|
2024-10-26 06:13:14 +00:00
|
|
|
<%if [<get.theme.option sidebarresizer>match[show]] %>
|
2024-10-25 04:19:28 +00:00
|
|
|
|
|
|
|
<$let
|
2024-10-25 17:57:04 +00:00
|
|
|
tv-set-storywidth-storyright=<<set.storywidth.storyright>>
|
|
|
|
tv-set-sidebarwidth=<<set.sidebarwidth>>
|
|
|
|
tv-set-centralised=<<set.centralised>>
|
2024-10-25 04:19:28 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<$transclude $variable="sidebar-resizer"/>
|
|
|
|
|
|
|
|
</$let>
|
|
|
|
|
|
|
|
<% endif %>
|