Index template moved to separate file