Skip to content

Commit

Permalink
change to png format for og link previews
Browse files Browse the repository at this point in the history
  • Loading branch information
fingers10 committed Oct 2, 2023
1 parent fc4c91f commit 575a4d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Components/ContentHead.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<Meta Property="og:type" Content="article" />
<Meta Property="og:title" Content="@Title" />
<Meta Property="og:image" Content="@($"{BaseUrl}image/brand/mini-logo.png")" />
<Meta Property="og:image" Content="@($"{BaseUrl}image/{normalizedPosterPath}/{Slug}.webp")" />
<Meta Property="og:image" Content="@($"{BaseUrl}image/{normalizedPosterPath}/{Slug}.png")" />
<Meta Property="og:image:alt" Content="DotNet bot with heart and DotNet brand" />
<Meta Property="og:description" Content="@Description" />
<Meta Property="og:url" Content="@($"{BaseUrl}{ContentType}/{Slug}/")" />
<Meta Property="twitter:card" Content="summary_large_image" />
<Meta Property="twitter:title" Content="@Title" />
<Meta Property="twitter:image" Content="@($"{BaseUrl}image/brand/mini-logo.png")" />
<Meta Property="twitter:image" Content="@($"{BaseUrl}image/{normalizedPosterPath}/{Slug}.webp")" />
<Meta Property="twitter:image" Content="@($"{BaseUrl}image/{normalizedPosterPath}/{Slug}.png")" />
<Meta Property="twitter:image:alt" Content="DotNet bot with heart and DotNet brand" />
<Meta Property="twitter:description" Content="@Description" />
<Meta Property="twitter:url" Content="@($"{BaseUrl}{ContentType}/{Slug}/")" />
Expand Down Expand Up @@ -90,7 +90,7 @@
"dateModified": "{{ModifiedOn:yyyy-MM-ddTHH:mm:ss.fffZ}}",
"image": {
"@type": "ImageObject",
"url": "{{BaseUrl}}image/{{normalizedPosterPath}}/{{Slug}}.webp",
"url": "{{BaseUrl}}image/{{normalizedPosterPath}}/{{Slug}}.png",
"width": 1265,
"height": 827
},
Expand Down

0 comments on commit 575a4d9

Please sign in to comment.