ERROR: 2016/08/03 14:50:23 general.go:212: Error while rendering homepage: template: index.html:6:33: executing “index.html” at <.Pages>: Pages is not a field of struct type *hugolib.Node
ERROR: 2016/08/03 15:07:58 general.go:212: Error while rendering homepage: template: index.html:6:22: executing “index.html” at <.Paginate>: error calling Paginate: invoked multiple times with different arguments
You can only have one paginator per node (it is a static site), so you must make sure that there is no previous calls to .Paginate or .Paginator in the template chain for that node.
I do have a call to .Paginate in layouts/_default/list.html, but this error still occurs when I remove that call.
I don’t completely understand this error, but removing that code does allow the pages to be randomized each time I build the site. I was hoping them to be randomized each time the user refreshes the page, but this works until I figure out something better.