front end templating