Pagination pages missing

I run Hugo on a Linux server. I create a paginated listing page for the ‘micro’ section. My paginator works fine with hugo 0.40. With 0.54 on Linux and macOS, the first page of the paginated section is fine, and the paginator navigation links are created correctly, but none of the pages are created beyond the first one. In other words, with v0.40, public/micro has a pages subdirectory with all of the pages like page/1/index.html created. With v0.54, the links are created properly, but the page/n/index.html pages aren’t created. I’ve changed nothing else.

Anybody else seeing this or know how to fix it?

The layout for the page is in ‘layouts/micro/section.html’. The content of the file is:

{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL }}
  <main>
    <div id="content">
      <div id="wrap">
        {{ if .Content }}
        <div class="home-content">
        <!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
        {{.Content}}
      </div>
      {{ end }}

      <div class="blog-list">
{{ $paginator := .Paginate (where .Data.Pages "Section" "micro") 30 }}
{{ range $paginator.Pages }}
{{ .Render "listentry"}}
{{ end }}
{{ template "_internal/pagination.html" . }}

      </div>
      </div>
    </div>
  </main>

{{ partial "footer.html" . }}