1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
TiddlyWiki5/core/ui/ViewTemplate.tid
Jeremy Ruston daf439121b Update the ViewTemplate to be driven by tag
Now the ViewTemplate just renders the current tiddler through each
template tagged `$:/tags/ViewTemplate`. This allows plugins (and users)
to add/remove elements from the ViewTemplate easily, without
overwriting the ViewTemplate itself.

(For @giffmex)
2013-08-21 20:51:45 +01:00

6 lines
232 B
Plaintext

title: $:/core/ui/ViewTemplate
modifier: JeremyRuston
<div class="tw-tiddler-view"><$list filter="[is[shadow]!has[draft.of]tag[$:/tags/ViewTemplate]] [!is[shadow]!has[draft.of]tag[$:/tags/ViewTemplate]]" hackTemplate=true/>
</div>