Skip to content
代码片段 群组 项目
未验证 提交 10f8ad2a 编辑于 作者: Mackinnon Buck's avatar Mackinnon Buck 提交者: GitHub
浏览文件

Removed <title> from _Layout.cshtml in the Blazor Server template (#35342)

Added <PageTitle> to MainLayout.razor.
上级 302ed3c6
No related branches found
No related tags found
无相关合并请求
...@@ -7,12 +7,11 @@ ...@@ -7,12 +7,11 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BlazorServerWeb-CSharp</title>
<base href="~/" /> <base href="~/" />
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" /> <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
<link href="css/site.css" rel="stylesheet" /> <link href="css/site.css" rel="stylesheet" />
<link href="BlazorServerWeb-CSharp.styles.css" rel="stylesheet" /> <link href="BlazorServerWeb-CSharp.styles.css" rel="stylesheet" />
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head> </head>
<body> <body>
@RenderBody() @RenderBody()
......
@inherits LayoutComponentBase @inherits LayoutComponentBase
<PageTitle>BlazorServerWeb-CSharp</PageTitle>
<div class="page"> <div class="page">
<div class="sidebar"> <div class="sidebar">
<NavMenu /> <NavMenu />
......
@inherits LayoutComponentBase @inherits LayoutComponentBase
<PageTitle>BlazorServerWeb-CSharp</PageTitle>
<div class="page"> <div class="page">
<div class="sidebar"> <div class="sidebar">
<NavMenu /> <NavMenu />
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册