← Back to team overview

zim-wiki team mailing list archive

Re: Getting the full page index when export to html

 

Hi Alex,

Thanks, that was helpful. When running, I get the error message that the 'page' parameter (in index()) isn't valid. However,

[% index(collapse,False) %]

did the trick for me. Jaap, perhaps something to add to the page as explicit example to the help file?

Paulo


On 04-02-17 22:26, Alex Ivkin wrote:
                [% IF page.basename == "Catalog" %]
                    [% index(navigation.home,False) %]
                [% ELSE %]
                    [% page.content %]
                [% END %]
                [% IF page.basename == "Other" %]
                    [% index(page,False) %]
                [% END %]



References