On Tue, 7 Jul 2020 18:57:21 +0200, Jaap Karssenberg
<jaap.karssenb...@gmail.com> wrote:

> Yes the template syntax should support the python "get" function.

And how is this supposed to work?

    [% FOR page IN pages %]
    [% IF page.get("meta") %]

yields AssertionError: Not a valid function: page.get
TypeError: 'PageProxy' object is not subscriptable

-- Johan

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to