Browse Source
Add PageTitle to PageHeader component
pull/19279/head
Enis Necipoglu
3 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
1 changed files with
3 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor
|
|
|
@ -1,11 +1,13 @@ |
|
|
|
@using Blazorise |
|
|
|
@using Microsoft.Extensions.Options |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
|
|
|
|
@inject IOptions<PageHeaderOptions> Options |
|
|
|
|
|
|
|
<Row Class="entry-row"> |
|
|
|
<PageTitle>@PageLayout.Title</PageTitle> |
|
|
|
@if(Options.Value.RenderPageTitle) |
|
|
|
{ |
|
|
|
{ |
|
|
|
<Column ColumnSize="ColumnSize.IsAuto"> |
|
|
|
<h1 class="content-header-title">@PageLayout.Title</h1> |
|
|
|
</Column> |
|
|
|
|