Modify header rendered by template engine