1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Add hidden setting for default tiddler icon

This commit is contained in:
Jeremy Ruston 2020-03-06 14:52:37 +00:00
parent 24d2804799
commit 6091b01386
2 changed files with 10 additions and 1 deletions

View File

@ -16,7 +16,9 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
<$link>
<$set name="foregroundColor" value={{!!color}}>
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
<$transclude tiddler={{!!icon}}/>
<$transclude tiddler={{!!icon}}>
<$transclude tiddler={{$:/config/DefaultTiddlerIcon}}/>
</$transclude>
</span>
</$set>
<$list filter="[all[current]removeprefix[$:/]]">

View File

@ -0,0 +1,7 @@
created: 20200306145004925
modified: 20200306145004925
tags: [[Hidden Settings]]
title: Hidden Setting: Default Tiddler Icon
type: text/vnd.tiddlywiki
A default tiddler icon can be specified by creating a tiddler called $:/config/DefaultTiddlerIcon containing the title of the tiddler containing the icon.