Netcore: dotnet new template updates and change HideTopLevelNodeFromPath default value to true (#10222)

* As we always ship with config in V8 to set this to be true makes sense it now because default in code

* Explicitly add JSON Schema property incase user IDE does not automap it

* Escaping issue with example usages
This commit is contained in:
Warren Buckley
2021-05-04 10:06:25 +01:00
committed by GitHub
parent ba2792b33e
commit f344479b40
4 changed files with 7 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
/// <summary>
/// Gets or sets a value indicating whether to hide the top level node from the path.
/// </summary>
public bool HideTopLevelNodeFromPath { get; set; } = false;
public bool HideTopLevelNodeFromPath { get; set; } = true;
/// <summary>
/// Gets or sets a value indicating whether HTTPS should be used.