protected function getTitle()
    {
        $navigation = array_reverse($this->urlParentPages);
        $this->title = strlen($this->title) > 5 ? $this->title . ' - ' : '';

        foreach ($navigation as $key => $nav) {
            $this->title .= $nav['title'] . ($key + 1 < count($navigation) ? ' - ' : '');
        }

        return trim($this->title . (strlen($this->title) < 2 ? '' : ' | ') . config('app.name'));
    }