mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 00:16:52 +00:00
correctly check if theme tiddler exists
This commit is contained in:
parent
f171a0b6ca
commit
e96ff3f48e
@ -4,7 +4,7 @@ caption: {{$:/language/ThemeTweaks/ThemeTweaks}}
|
||||
|
||||
\define lingo-base() $:/language/ThemeTweaks/
|
||||
|
||||
\function get.theme(metric) [{$:/theme}addsuffix[/]addsuffix<metric>!is[missing]] ~[[$:/themes/tiddlywiki/vanilla/]addsuffix<metric>]
|
||||
\function get.theme(metric) [{$:/theme}addsuffix[/]addsuffix<metric>!is[missing]] ~[{$:/theme}addsuffix[/]addsuffix<metric>is[shadow]] ~[[$:/themes/tiddlywiki/vanilla/]addsuffix<metric>]
|
||||
|
||||
\define replacement-text()
|
||||
[img[$(imageTitle)$]]
|
||||
|
Loading…
Reference in New Issue
Block a user