1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +00:00

Menu bar plugin: Hide menu bar in static renderings

Fixes #7476
This commit is contained in:
jeremy@jermolene.com 2023-06-17 08:58:50 +01:00
parent 190613ad29
commit d8124ee82d

View File

@ -42,6 +42,7 @@ tags: $:/tags/PageTemplate
</ul>
\end
<$list filter="[<tv-config-static>!match[yes]]" variable="ignore">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/MenuBar]!has[draft.of]] -[all[tiddlers+shadows]tag[$:/tags/TopLeftBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/topleftbar]] -[all[tiddlers+shadows]tag[$:/tags/TopRightBar]limit[1]then[]else[$:/plugins/tiddlywiki/menubar/items/toprightbar]] +[limit[1]]" variable="listItem">
<nav class="tc-menubar tc-adjust-top-of-scroll">
<div class="tc-menubar-narrow">
@ -66,3 +67,4 @@ tags: $:/tags/PageTemplate
</$list>
</nav>
</$list>
</$list>