diff --git a/docs/en/UI/AspNetCore/Page-Header.md b/docs/en/UI/AspNetCore/Page-Header.md index 8b045c89ab..e8c045cf08 100644 --- a/docs/en/UI/AspNetCore/Page-Header.md +++ b/docs/en/UI/AspNetCore/Page-Header.md @@ -10,12 +10,12 @@ Page Title can be set as shown in the example below: -````csharp +```csharp @inject IPageLayout PageLayout @{ PageLayout.Content.Title = "Book List"; } -```` +``` * The Page Title is set to the HTML `title` tag (in addition to the [brand/application name](Branding.md)). * The theme may render the Page Title before the Page Content (not implemented by the Basic Theme). @@ -30,9 +30,9 @@ Breadcrumb items can be added to the `PageLayout.Content.BreadCrumb`. **Example: Add Language Management to the breadcrumb items.** -```` +``` PageLayout.Content.BreadCrumb.Add("Language Management"); -```` +``` The theme then renders the breadcrumb. An example render result can be: @@ -59,4 +59,4 @@ You can set the Menu Item name related to this page: PageLayout.Content.MenuItemName = "BookStore.Books"; ``` -Menu item name should match a unique menu item name defined using the [Navigation / Menu](Navigation-Menu.md) system. In this case, it is expected from the theme to make the menu item "active" in the main menu. \ No newline at end of file +Menu item name should match a unique menu item name defined using the [Navigation / Menu](Navigation-Menu.md) system. In this case, it is expected from the theme to make the menu item "active" in the main menu.