From 1a348b165fa6db7e34f1bc1ba28c6957f603e850 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Tue, 11 Jul 2023 08:24:46 +0300 Subject: [PATCH] Fix code section visibility on PageHeader documentation --- docs/en/UI/AspNetCore/Page-Header.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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.