mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
b31803608b
@felixhayashi sorry I should have realised earlier that it’s worth doing it this way so that we can have different settings for different story rivers.
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
title: $:/core/ui/PageTemplate
|
|
|
|
\define containerClasses()
|
|
tc-page-container tc-page-view-$(themeTitle)$ tc-language-$(languageTitle)$
|
|
\end
|
|
|
|
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
|
|
|
|
<$set name="tv-config-toolbar-icons" value={{$:/config/Toolbar/Icons}}>
|
|
|
|
<$set name="tv-config-toolbar-text" value={{$:/config/Toolbar/Text}}>
|
|
|
|
<$set name="tv-config-toolbar-class" value="tc-btn-invisible">
|
|
|
|
<$set name="themeTitle" value={{$:/view}}>
|
|
|
|
<$set name="currentTiddler" value={{$:/language}}>
|
|
|
|
<$set name="languageTitle" value={{!!name}}>
|
|
|
|
<$set name="currentTiddler" value="">
|
|
|
|
<div class=<<containerClasses>>>
|
|
|
|
<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}}>
|
|
|
|
<$dropzone>
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" variable="listItem">
|
|
|
|
<$transclude tiddler=<<listItem>>/>
|
|
|
|
</$list>
|
|
|
|
</$dropzone>
|
|
|
|
</$navigator>
|
|
|
|
</div>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$importvariables>
|