Updated index.html construction and template for detailed entries