if you write a syntax extension, you can use if and any other rust keywords / operator / token (see the template language i started which use if directly)
Otherwise Maud has to re-implement if/then/else, iterator methods, etc. But perhaps you could use 'if/then' and other structures inside a $() block.