private function getBreadcrumbTitle($file)
    {
        $frontmatter = $this->getFrontmatter($file);
        $title = $frontmatter["title"];
        if (isset($frontmatter["titleBreadcrumb"])) {
            $title = $frontmatter["titleBreadcrumb"];
        }

        return $title;
    }
private function getBreadcrumbTitle($file)
    {
        $frontmatter = $this->getFrontmatter($file);
        $title = $frontmatter["title"];
        if (isset($frontmatter["titleBreadcrumb"])) {
            $title = $frontmatter["titleBreadcrumb"];
        }

        return $title;
    }
private function getBreadcrumbTitle ( $ file ) { $ frontmatter = $ this -> getFrontmatter ( $ file ) ; $ title = $ frontmatter [ "title" ] ; if ( isset ( $ frontmatter [ "titleBreadcrumb" ] ) ) { $ title = $ frontmatter [ "titleBreadcrumb" ] ; } return $ title ; }
Get the title of a document to use for breadcrumb.

@param string $file to get title from.

@return string as the breadcrumb title.
Get the title of a document to use for breadcrumb .