change index to jade template