Making templates semantic HTML