mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 08:56: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/
|
\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()
|
\define replacement-text()
|
||||||
[img[$(imageTitle)$]]
|
[img[$(imageTitle)$]]
|
||||||
|
Loading…
Reference in New Issue
Block a user