Skip to content

Commit

Permalink
fix: toc usage
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Aug 1, 2024
1 parent dd5249a commit d29f170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/itonnote-plugin/Sidebar/FolderMenu.tid
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ type: text/vnd.tiddlywiki
<$scrollable fallthrough="none" class="tc-popup-keep tc-menubar-dropdown-sidebar">

<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder">
<div class="tc-table-of-contents">
<$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} />
</div>
<$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} />
</$let>

<<lingo FolderMenu/Help>>
Expand Down
4 changes: 1 addition & 3 deletions src/itonnote-plugin/Snippets/TOCAboutCurrentTiddler.tid
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ type: text/vnd.tiddlywiki


<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder">
<div class="tc-table-of-contents">
<$transclude $variable="toc-selective-expandable" tag=<<currentTiddler>> />
</div>
<$transclude $variable="toc-ui" tag={{$:/plugins/linonetwo/itonnote/Configs/SideBarFolderMenuBaseTitle}} />
</$let>

0 comments on commit d29f170

Please sign in to comment.