File applications/examples/views/template_examples/test_if.html artifact b03b1579a9 part of check-in 6548f791b4
{{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}}