concentrate all html to a template