Added excerpt functionality to the index template.