Skip to content

Commit

Permalink
Update metatag field to use Open Graph impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Still Hsu committed Jul 16, 2019
1 parent 68eaebc commit 9517f40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9517f40

Please sign in to comment.