Added index template support and intitial support for archive template.
Adding archive for story template.