Blog articles not shown in index.html

Hello everyone,
When we last ran Hugo and published the last version of our website, the index.html contained the below:

[...]
<div id="slide-blog" class="container-fluid pt-5 pb-5">
  <div class="row justify-content-center">
    <div class="col-9 mt-4 text-center"><h2>Latest news</h2></div>
  </div>
  <div class="row justify-content-center mb-5">
    <div class="col-sm-6 col-md-3 my-5">
      <a href="https://www.oxio.com/blog/what-mobile-connectivity-is-like-for-majority-of-the-world/" class="blog-card">
        <img src="https://www.oxio.com/blog/what-mobile-connectivity-is-like-for-majority-of-the-world.jpg">
        <div class="p-4"><h4>What purchasing mobile connectivity is like for most people</h4>
          <p></p>
          <p>OXIO wants to make mobile data cheaper for everyone. Furthermore, we want anyone in the world to be …</p>
          <p></p>
        </div>
      </a>
    </div>
[...]

But when I run Hugo (after version update) again on the same exact content, I get the following:

[...]
<div id="slide-blog" class="container-fluid pt-5 pb-5">
        <div class="row justify-content-center">
            <div class="col-9 mt-4 text-center">
                <h2>Latest news</h2>
            </div>
        </div>
        <div class="row justify-content-center mb-5"><div class="col-sm-6 col-md-3 my-5">
                <a href="http://localhost:1313/blog/" class="blog-card"><div class="p-4">
                        <h4>Blog</h4>
                        <p></p>
                    </div>
                </a>
            </div></div>
    </div>
[...]

So the index.html page is now missing blog post previews but it didn’t use to. The blog post themselves are properly rendered, just not featured on the front page.
I am under the impression that this has to do with the order that Hugo renders content and hence I’d like to prioritize the blog section but, I haven’t found the way to do this after reading the doc and googling around. I would very much appreciate a bit of guidance. Thank you very much!

I had the same issue with 0.59 and later. There is more info in the release notes, but for me the solution was to change the range statement that lists the posts. In my _default/list.html I now have this updated code.

`{{ $paginator := .Paginate (where .Site.RegularPages “Type” “post”) }}

{{ range $paginator.Pages }}`

The fix was the Site.RegularPages here, and in my RSS template équivalent.

Hope that helps.