From 2a3a6dd55820b758c3e16ba9a59a000f891cfba6 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Fri, 5 Nov 2021 17:56:52 +0000 Subject: [PATCH] Refer to $:/core/ui/{View|Edit}Template via their associated config tiddlers --- core/ui/TiddlerTemplate.tid | 2 +- core/wiki/config/TiddlerTemplateFilters.multids | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/ui/TiddlerTemplate.tid b/core/ui/TiddlerTemplate.tid index 407bde54f..1b4ca8092 100644 --- a/core/ui/TiddlerTemplate.tid +++ b/core/ui/TiddlerTemplate.tid @@ -1,3 +1,3 @@ title: $:/core/ui/TiddlerTemplate -<$transclude tiddler={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerTemplateFilter]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate]] }}} /> +<$transclude tiddler={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerTemplateFilter]get[text]] :and[!is[blank]else{$:/core/ui/ViewTemplate}] }}} /> diff --git a/core/wiki/config/TiddlerTemplateFilters.multids b/core/wiki/config/TiddlerTemplateFilters.multids index a04fff521..73fcf3af0 100644 --- a/core/wiki/config/TiddlerTemplateFilters.multids +++ b/core/wiki/config/TiddlerTemplateFilters.multids @@ -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}]