if (this.posts) {
      this.posts.forEach((post, index) => {
        if (index > startIndex) {
          post.classList.add('is-hidden')
        }