From 6820d45bf0ca2a552f3ed968e0fa89797c50840c Mon Sep 17 00:00:00 2001 From: yaisog Date: Sat, 6 May 2023 12:53:58 +0200 Subject: [PATCH] Improve the StoryTiddlerTemplate fallback (#7332) * Initial commit * Update StoryTiddlerTemplate.tid * Extend cascades hint to help in case of problems * Remove note about debugging from docs I think that this brief note is more confusing than anything else --------- Co-authored-by: jeremy@jermolene.com --- core/ui/StoryTiddlerTemplate.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ui/StoryTiddlerTemplate.tid b/core/ui/StoryTiddlerTemplate.tid index 7379f00b1..7cc26a849 100644 --- a/core/ui/StoryTiddlerTemplate.tid +++ b/core/ui/StoryTiddlerTemplate.tid @@ -1,3 +1,3 @@ title: $:/core/ui/StoryTiddlerTemplate -<$transclude tiddler={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/StoryTiddlerTemplateFilter]!is[draft]get[text]] :and[!is[blank]else{$:/config/ui/ViewTemplate}] }}} /> +<$transclude tiddler={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/StoryTiddlerTemplateFilter]!is[draft]get[text]] :and[has[title]else[$:/core/ui/ViewTemplate]] }}} />