1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 01:26:18 +00:00

Refer to $:/core/ui/{View|Edit}Template via their associated config tiddlers

This commit is contained in:
jeremy@jermolene.com 2021-11-05 17:56:52 +00:00
parent e0b7dcded1
commit 2a3a6dd558
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
title: $:/core/ui/TiddlerTemplate
<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerTemplateFilter]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate]] }}} />
<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerTemplateFilter]get[text]] :and[!is[blank]else{$:/core/ui/ViewTemplate}] }}} />

View File

@ -1,5 +1,5 @@
title: $:/config/TiddlerTemplateFilters/
tags: $:/tags/TiddlerTemplateFilter
draft: [is[draft]then[$:/core/ui/EditTemplate]]
default: [[$:/core/ui/ViewTemplate]]
draft: [is[draft]then{$:/config/ui/EditTemplate}]
default: [{$:/config/ui/ViewTemplate}]