Implement html templates