mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-04 09:06:18 +00:00
523280362b
Which enables us to do a cleaner readonly theme
16 lines
529 B
Plaintext
16 lines
529 B
Plaintext
title: $:/core/ui/PageTemplate/pagecontrols
|
|
|
|
\define config-title()
|
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
|
\end
|
|
<div class="tc-page-controls">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
|
<$reveal type="nomatch" state=<<config-title>> text="hide">
|
|
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
|
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
|
</$set>
|
|
</$reveal>
|
|
</$list>
|
|
</div>
|
|
|