0.22 broke the blog part of my site — the blog posts didn’t show up at all on /blog/ — but this change fixed it.
@@ -1,5 +1,5 @@
{{ define "content" }}
- {{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Section" "blog") }}
{{ range $paginator.Pages }}
<article data-type='blog-post' class='h-entry'>
<header>
@@ -24,7 +24,7 @@
{{ define "afternav" }}
<nav>
{{ $outside := . }}
- {{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Section" "blog") }}
{{ if $paginator.HasPrev }}
HTH. I cribbed the new way from here.