Completes the index template and adds a twirl template for notes.