Re: Include under an "if" statement

2009-09-11 Thread NealWalters
A follow-up question. The following works [filename=baseMain.html]: {% include templateHead %} {% include templateBody1 %} StartBodyBlock {%block body%} Default Block Body {%endblock%} EndBodyBlock {% include templateBody2 %} but if I combine templateBody1 and templateBody2 int

Re: Include under an "if" statement

2009-09-10 Thread NealWalters
Let me add the reason for my question. The code posted first doesn't work. The "block body" is not being replaced. But the following works fine (remove the ifequal/else/endifequal and the Dijit.html template (which might also have a duplicate "block body". {% include "baseMainIncludeSimpleHea