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 %]


_______________________________________________
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