Simplify the template file