In order for a blog to show a full pagination control, we need to provide a list of all the page numbers. We should add a new attribute (series) to Statocles::Page::List that holds the list of list pages being generated.
This creates a circular reference, so we must make sure it is cleaned up appropriately (or appropriately weakened).
In order for a blog to show a full pagination control, we need to provide a list of all the page numbers. We should add a new attribute (
series
) toStatocles::Page::List
that holds the list of list pages being generated.This creates a circular reference, so we must make sure it is cleaned up appropriately (or appropriately weakened).