Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sanderson <SteveSandersonMS@users.noreply.github.com>2022-10-03 22:28:45 +0300
committerGitHub <noreply@github.com>2022-10-03 22:28:45 +0300
commit265991cae4b1af48651454e8aad4bbe38e6b3e64 (patch)
tree2676f7e684ea8a63809b3942bdcd5061824c7166
parent2b8523d9b40815bc800cb8a3b1149abfc4137d32 (diff)
Add <title> to empty wasm template index.html (#44334)
# Add <title> to empty wasm template index.html Add <title> to empty wasm template index.html ## Description The new Blazor WebAssembly "empty" project template lacks a `<title>`, but (1) everyone wants a title, and (2) the `<title>` element is required by the HTML spec - we can't omit it without the document being invalid. This PR adds it. Fixes #44335 ## Customer Impact Without fixing this, newly-created projects don't conform to the HTML spec by default. And it's just strange. ## Regression? - [ ] Yes - [x] No - the empty wasm template is new in 7.0 [If yes, specify the version the behavior has regressed from] ## Risk - [ ] High - [ ] Medium - [x] Low It's just adding a `<title>` element to a plain-text HTML file, equivalently to how it already appears in the non-empty template. ## Verification - [x] Manual (required) - [ ] Automated ## Packaging changes reviewed? - [ ] Yes - [ ] No - [x] N/A
-rw-r--r--src/ProjectTemplates/Web.ProjectTemplates/content/EmptyComponentsWebAssembly-CSharp/Client/wwwroot/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyComponentsWebAssembly-CSharp/Client/wwwroot/index.html b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyComponentsWebAssembly-CSharp/Client/wwwroot/index.html
index 014ed024e0..40adfaf2e7 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyComponentsWebAssembly-CSharp/Client/wwwroot/index.html
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyComponentsWebAssembly-CSharp/Client/wwwroot/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
+ <title>EmptyComponentsWebAssembly-CSharp</title>
<base href="/" />
<link href="css/app.css" rel="stylesheet" />
<!--#if PWA -->