Fixed an action in the index template.