Pagination over taxonomy terms


#1

I would like to use pagination over a list of taxonomy terms. Below an example:

{{ $pager := .Paginate .Site.Taxonomies.tags 25 }}

Unfortunately this doesn’t work. I guess the reason is that Site.Taxonomies.tags is a map and maybe it doesn’t work with .Paginate but I don’t know. I also tried to construct a slice of term names with scratchpad, but that doesn’t work either.


#2

Correct. .Paginate support Pages or PageGroup.


#3

Thanks!