Define html template based on a theme by mattgraham.