Update template engine config to remove excess whitespace