← Back to team overview

zim-wiki team mailing list archive

Re: Export templates

 

On Tue, 7 Jul 2020 19:54:32 +0200, Jaap Karssenberg
<jaap.karssenberg@xxxxxxxxx> 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


Follow ups

References