Fix code section visibility on PageHeader documentation

pull/17078/head
Enis Necipoglu 2 years ago committed by GitHub
parent 32ae048d94
commit 1a348b165f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.
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.

Loading…
Cancel
Save