mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +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>
|