Skip to content

Conversation

@MackinnonBuck
Copy link
Member

@MackinnonBuck MackinnonBuck commented Aug 13, 2021

Fixed page title in Blazor Server project templates
The project templates had a static <title> element in _Layout.cshtml, and this was overriding the page title specified by individual pages (via <PageTitle>).

PR Description

  • Removed the static <title> element in _Layout.cshtml
  • Added a default <PageTitle> to MainLayout.Auth.razor and MainLayout.NoAuth.razor

Fixes #35343

@MackinnonBuck MackinnonBuck requested a review from a team as a code owner August 13, 2021 23:46
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 13, 2021
Copy link
Member

@danroth27 danroth27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@pranavkm pranavkm enabled auto-merge (squash) August 13, 2021 23:56
@pranavkm pranavkm merged commit 10f8ad2 into main Aug 14, 2021
@pranavkm pranavkm deleted the t-mbuck/project-template-fix branch August 14, 2021 01:11
@ghost ghost added this to the 6.0-rc1 milestone Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PageTitle not applied in Blazor Server template

4 participants