Updated indexing for index jade template