Skip to content

Commit

Permalink
fixed share canonical/url
Browse files Browse the repository at this point in the history
  • Loading branch information
ropalko committed Aug 13, 2020
1 parent 2028a18 commit a96e642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _Details.code.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
HtmlPage.AddOpenGraph("og:type", "article");
HtmlPage.AddOpenGraph("og:title", post.Title);
HtmlPage.AddOpenGraph("og:site_name", App.Settings.Title);
HtmlPage.AddOpenGraph("og:url", Link.To(parameters: "post=" + post.UrlKey));
HtmlPage.AddOpenGraph("og:url", Link.To(parameters: "details=" + post.UrlKey));
HtmlPage.AddOpenGraph("og:description", sharingDescription);
HtmlPage.AddOpenGraph("og:image", metaImageUrl);
HtmlPage.AddOpenGraph("og:image:height", "1200");
Expand Down

0 comments on commit a96e642

Please sign in to comment.