Original post

Say I need to loop through an array and make some checking in it check cannot be done in the normal template, How can I make a checker like this
{{ if 1=1}} It’s true {{else}} It’s false{{end}}
Doing this directly will give me an error, what should I do?


This is not related to the question but… Should i use .html extension or .tmpl?