public function getSitemapItemBySlug($slug)
    {
        $sitemap = $this->repository->sitemap;
        foreach ($sitemap as $sitemapItem) {
            if ($sitemapItem->slug == $slug) {
                return $sitemapItem;
            }
        }

        return null;
    }