Skip to content

Commit b2e1d9d

Browse files
Fixes #1552 - Change how the title in the head is defined
1 parent 3799894 commit b2e1d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Markdown/Page/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Layout = Model.CurrentDocument.YamlFrontMatter?.Layout,
1515
RenderHamburgerIcon = Model.CurrentDocument.YamlFrontMatter?.Layout != MarkdownPageLayout.LandingPage,
1616
DocSetName = Model.DocSetName,
17-
Title = $"{Model.Title} | {Model.SiteName}",
17+
Title = $"{Model.Title} | {Model.Parents[0].NavigationTitle} | {Model.SiteName}",
1818
Description = Model.Description,
1919
PageTocItems = Model.PageTocItems.Where(i => i is
2020
{

0 commit comments

Comments
 (0)