diff --git a/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor b/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor index d0b11843c1f..d7c636d5d2a 100644 --- a/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor +++ b/framework/src/Volo.Abp.AspNetCore.Components.Web.Theming/Layout/PageHeader.razor @@ -1,11 +1,22 @@ @using Blazorise @using Microsoft.Extensions.Options @using Microsoft.AspNetCore.Components.Web +@using Volo.Abp.Ui.Branding @inject IOptions Options +@inject IBrandingProvider BrandingProvider - @PageLayout.Title + + @if (PageLayout.Title.IsNullOrEmpty()) + { + @BrandingProvider.AppName + } + else + { + @PageLayout.Title | @BrandingProvider.AppName + } + @if(Options.Value.RenderPageTitle) {