| Thread Previous • Date Previous • Date Next • Thread Next |
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
| Thread Previous • Date Previous • Date Next • Thread Next |