Apologies for necro’ing this thread but I’ve been trying to get this working with the following code:
{{ $paginator := .Paginate (union .Site.Taxonomies.categories.catagory1 .Site.Taxonomies.categories.catagory2) 25 }}
{{ range $paginator.Pages }}
From the following Documentation page over here, but because my page is a ‘single’ page I’m getting an error which says ‘Pages’ is undefined / null reference error as there’s nothing to paginate.
Do you know how I can create a custom ‘list’ page, that only shows some specific categories, instead of a custom ‘single’ page?
Or is this possible with a ‘single’ page and I need a different way to access the variables?