private function setPageHeaders($resource)
    {
        $this->title = $resource->title;
        $this->pageTitle = $resource->category->title;
        $this->description = $resource->title . ' ' . $resource->summary;
        $this->image = ltrim(uploaded_images_url($resource->image), '/');
        $this->addBreadcrumbLink($resource->category->title,
            $this->URLPrefix . $resource->category->url);
        $this->addBreadcrumbLink($resource->title, $resource->url);

        $this->setBanners($resource->image, $resource->title, $resource->summary);
    }