Compile html templates.