File applications/examples/views/template_examples/test_if.html artifact b03b1579a9 part of check-in a162dcef14
{{extend 'layout.html'}} <h1>If statement</h1> {{ a=10 }} {{if a%2==0:}} <h2>{{=a}} is even</h2> {{else:}} <h2>{{=a}} is odd</h2> {{pass}}