Custom HTML template implemented