diff --git a/src/Docfx.Build/SystemMetadata.cs b/src/Docfx.Build/SystemMetadata.cs index 444990fec92..a76946c745d 100644 --- a/src/Docfx.Build/SystemMetadata.cs +++ b/src/Docfx.Build/SystemMetadata.cs @@ -8,21 +8,6 @@ namespace Docfx.Build.Engine; class SystemMetadata { - [JsonProperty("_title")] - [JsonPropertyName("_title")] - public string Title { get; set; } - - [JsonProperty("_tocTitle")] - [JsonPropertyName("_tocTitle")] - public string TocTitle { get; set; } - - [JsonProperty("_name")] - [JsonPropertyName("_name")] - public string Name { get; set; } - - [JsonProperty("_description")] - [JsonPropertyName("_description")] - public string Description { get; set; } /// /// TOC PATH from ~ ROOT diff --git a/templates/default/partials/head.tmpl.partial b/templates/default/partials/head.tmpl.partial index 2853cad2b39..c801f7e5327 100644 --- a/templates/default/partials/head.tmpl.partial +++ b/templates/default/partials/head.tmpl.partial @@ -20,6 +20,7 @@ {{#_description}}{{/_description}} + {{#description}}{{/description}} diff --git a/templates/modern/layout/_master.tmpl b/templates/modern/layout/_master.tmpl index 70089790859..371f5720d99 100644 --- a/templates/modern/layout/_master.tmpl +++ b/templates/modern/layout/_master.tmpl @@ -14,6 +14,7 @@ {{#_description}}{{/_description}} + {{#description}}{{/description}}