mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
9fbe72a877
By rearranging the `[all[]]` operator we are able to ensure that shadow tiddlers get processed before ordinary tiddlers. This makes it easier to create custom stylesheets that override the core.
36 lines
601 B
Plaintext
36 lines
601 B
Plaintext
title: $:/core/ui/PageTemplate
|
|
|
|
\define containerClasses()
|
|
tw-page-container tw-page-view-$(themeTitle)$ tw-language-$(languageTitle)$
|
|
\end
|
|
|
|
<$set name="themeTitle" value={{$:/view}}>
|
|
|
|
<$set name="currentTiddler" value={{$:/language}}>
|
|
|
|
<$set name="languageTitle" value={{!!name}}>
|
|
|
|
<div class=<<containerClasses>>>
|
|
|
|
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
|
|
|
<$dropzone>
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]" variable="listItem">
|
|
|
|
<$transclude tiddler=<<listItem>>/>
|
|
|
|
</$list>
|
|
|
|
</$dropzone>
|
|
|
|
</$navigator>
|
|
|
|
</div>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|