Move html into template to fix example.