protected function getPreviousPageLink($currentPageIndex)
    {
        if (! isset($this->pagesData[$currentPageIndex - 1])) {
            return null;
        } elseif ($currentPageIndex == 1) {
            // If the current page is the second, then the first page's
            // link should point to the blog's main view.
            return '/'.$this->getBlogListPagePath();
        }

        return '/blog-page/'.$currentPageIndex.'/';
    }