Front-end rebuild of templates