if statement sucks or i need to rest

i just wanted to use special if statement, like explained in the django doc:
{% if "blog" not in page.module.name %}{{page.title}}{% endif %}
(without that line, all gones well.)

But, i'm falling on an error:
INFO:Processing /index.html[2009-12-21 15:21:46,495]
***********************
Error while rendering page /index.html
***********************
Generation Failed
(, TemplateSyntaxError("'if' statement improperly formatted",), )

Who's wrong. Me or the templates ?
And why don't use the Jinja template engine it's like django, but better for a project like yours...
 
sad I’m frustrated
Inappropriate?
1 person has this problem

The company marked this problem solved.


User_default_medium