<main>
    <div id="home">
        <ul class="posts">
        {{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") }}
        {{ range $paginator.Pages }}
            <li itemscope itemtype="//schema.org/BlogPosting">
                <a href="{{ .Permalink }}" itemprop="url">
                    <div class="p-wrap">
                        <time datetime="" itemprop="datePublished">
                        {{ .Date.Format "02 Jan 2006" }}
                        </time>
                        <p itemprop="name headline">{{ .Title }}</p>
                    </div>
                </a>
            </li>
        {{ end }}
        </ul>
    </div>
</main>

<main>
    <div id="home">
        <ul class="posts">
        {{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Type" "post") }}
        {{ range $paginator.Pages }}
            <li itemscope itemtype="//schema.org/BlogPosting">
                <a href="{{ .Permalink }}" itemprop="url">
                    <div class="p-wrap">
                        <time datetime="" itemprop="datePublished">
                        {{ .Date.Format "02 Jan 2006" }}
                        </time>
                        <p itemprop="name headline">{{ .Title }}</p>
                    </div>
                </a>
            </li>
        {{ end }}
        </ul>
    </div>
</main>

Add use .Site.RegularPages for pagination
Add use .Site.RegularPages for pagination

Hugo v0.57.0 changed the behavior of the page variables. This caused
some broken theme demos. This fix uses .Site.RegularPages to get former,
expected list of pages back.
