Compile a index.html file with doT.