better template toolkit syntax