diff --git a/DocFX.Plugin.DescriptionGenerator/DescriptionPostProcessor.cs b/DocFX.Plugin.DescriptionGenerator/DescriptionPostProcessor.cs index 103e9cb..b493db9 100644 --- a/DocFX.Plugin.DescriptionGenerator/DescriptionPostProcessor.cs +++ b/DocFX.Plugin.DescriptionGenerator/DescriptionPostProcessor.cs @@ -105,7 +105,7 @@ private static HtmlDocument AppendMetadata(HtmlDocument htmlDoc, string value) { var headerNode = htmlDoc.DocumentNode.SelectSingleNode("//head"); var metaDescriptionNode = htmlDoc.CreateElement("meta"); - metaDescriptionNode.SetAttributeValue("name", "description"); + metaDescriptionNode.SetAttributeValue("property", "og:description"); metaDescriptionNode.SetAttributeValue("content", value); headerNode.AppendChild(metaDescriptionNode); return htmlDoc;