From dc7f8cb0af68c53607a11760ce869e91a137ac74 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Sat, 7 Sep 2024 22:04:55 +0800 Subject: [PATCH] Add docs for some hidden settings (#8508) * Add docs for $:/config/EmptyStoryMessage in hidden settings * Add docs for $:/config/DefaultTiddlerColour --- ...tting Content to be displayed for empty story.tid | 12 ++++++++++++ .../Hidden Setting Default Tiddler Colour.tid | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid create mode 100644 editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid new file mode 100644 index 000000000..f3497d5be --- /dev/null +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Content to be displayed for empty story.tid @@ -0,0 +1,12 @@ +created: 20240811052854726 +modified: 20240811053649554 +tags: [[Hidden Settings]] +title: Hidden Setting: Content to be displayed for empty story + +To display content when the story is empty, create $:/config/EmptyStoryMessage and enter the desired contents. + +The following would show the GettingStarted tiddler when all others are closed. + +``` +{{GettingStarted||$:/core/ui/ViewTemplate}} +``` \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid new file mode 100644 index 000000000..e8bb0dc87 --- /dev/null +++ b/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid @@ -0,0 +1,7 @@ +created: 20240907042443909 +modified: 20240907042629405 +tags: [[Hidden Settings]] +title: Hidden Setting: Default Tiddler Colour +type: text/vnd.tiddlywiki + +A default tiddler colour can be specified by creating a tiddler called $:/config/DefaultTiddlerColour containing the title of the tiddler containing the CSS color value.