Skip to content

Commit

Permalink
Merge 9b38226 into 305cabf
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored Jan 6, 2024
2 parents 305cabf + 9b38226 commit f767f49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Docfx.Build/SystemMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

/// <summary>
/// TOC PATH from ~ ROOT
Expand Down
1 change: 1 addition & 0 deletions templates/default/partials/head.tmpl.partial
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<meta name="viewport" content="width=device-width">
<meta name="title" content="{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}">
{{#_description}}<meta name="description" content="{{_description}}">{{/_description}}
{{#description}}<meta name="description" content="{{description}}">{{/description}}
<link rel="shortcut icon" href="{{_rel}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}">
<link rel="stylesheet" href="{{_rel}}styles/docfx.vendor.min.css">
<link rel="stylesheet" href="{{_rel}}styles/docfx.css">
Expand Down
1 change: 1 addition & 0 deletions templates/modern/layout/_master.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}">
{{#_description}}<meta name="description" content="{{_description}}">{{/_description}}
{{#description}}<meta name="description" content="{{description}}">{{/description}}
<link rel="icon" href="{{_rel}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}">
<link rel="stylesheet" href="{{_rel}}public/docfx.min.css">
<link rel="stylesheet" href="{{_rel}}public/main.css">
Expand Down

0 comments on commit f767f49

Please sign in to comment.