Generalise contents within .hbs files