On 1/22/07, Ingy dot Net <[EMAIL PROTECTED]> wrote:
On 22/01/07 22:04 +0000, Alberto Sim?es wrote: > Hello > > I asked this on IRC but as nobody answered, here is the question, so I > can go sleep and check the answer tomorrow. > > I am designing a theme. I have a template for the main page. I would > like to make the template larger if the page is in "edit" mode. Is > there any variable I can query to check the "page type" at run time?Try: [% IF hub.action == 'edit' %] I think that should work...
It works, thanks. -- Alberto Simões
