On Tue, 7 Jul 2020 19:54:32 +0200, Jaap Karssenberg
<[email protected]> wrote:
> My guess would be that
Your guess? I thought you programmed it :)
>
> [% IF page.meta.get("Templat") %]
>
> is what you are looking for. The "meta" attribute is a dict, not "page".
This yields: AssertionError: Not a valid function: page.meta.get .
Besides, the reference to page.meta already gives warnings if there's no
metadata (as is the case for most of my pages).
-- Johan
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to : [email protected]
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp