← Back to team overview

zim-wiki team mailing list archive

Re: Export templates

 

On Tue, 7 Jul 2020 18:57:21 +0200, Jaap Karssenberg
<jaap.karssenberg@xxxxxxxxx> 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


References