Added pagination to archives page