diff --git a/core/ui/PageTemplate.tid b/core/ui/PageTemplate.tid index 20891e35d..ded7c02a6 100644 --- a/core/ui/PageTemplate.tid +++ b/core/ui/PageTemplate.tid @@ -7,31 +7,36 @@ code-body: yes \whitespace trim \import [subfilter{$:/core/config/GlobalImportFilter}] -<$vars +\function _tf.getPageContainerClass() + [all[shadows+tiddlers]tag[$:/tags/ClassFilters/PageTemplate]!is[draft]] + :map:flat[subfilter{!!text}] + tc-page-container + [[tc-page-view-]addsuffix] + [[tc-language-]addsuffix] + :and[unique[]join[ ]] +\end + +<$let tv-config-toolbar-icons={{$:/config/Toolbar/Icons}} tv-config-toolbar-text={{$:/config/Toolbar/Text}} tv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}} tv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}} tv-show-missing-links={{$:/config/MissingLinks}} storyviewTitle={{$:/view}} - languageTitle={{{ [{$:/language}get[name]] }}}> - -
] [[tc-language-]addsuffix] :and[unique[]join[ ]] }}} > - -<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}> - -<$dropzone enable=<> class="tc-dropzone tc-page-container-inner"> - -<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" variable="listItem"> - -<$transclude tiddler=<>/> - - - - - - - -
- - + languageTitle={{{ [{$:/language}get[name]] }}} +> +
> > + <$navigator story="$:/StoryList" + history="$:/HistoryList" + openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} + openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} + relinkOnRename={{$:/config/RelinkOnRename}} + > + <$dropzone enable=<> class="tc-dropzone tc-page-container-inner"> + <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" variable="listItem"> + <$transclude tiddler=<>/> + + + +
+