/**
* List all of the blog posts for a given year
*
* @route blog/series
*/
public function listSeries()
{
list($offset, $limit) = $this->getOffsetAndLimit();
$count = $this->blog->countSeries();
$series_items = $this->blog->listBaseSeries($limit, $offset);
$args = ['series' => ['name' => \__('Series Index')], 'pageTitle' => \__('Series Index'), 'series_items' => $series_items, 'pagination' => ['base' => \Airship\LensFunctions\cabin_url() . 'blog/series/', 'suffix' => '/?page=', 'count' => $count, 'page' => (int) \ceil($offset / ($limit ?? 1)) + 1, 'per_page' => $limit]];
$this->config('blog.cachelists') ? $this->stasis('blog/series', $args) : $this->lens('blog/series', $args);
}