Skip to content

Commit

Permalink
Merge pull request #1 from mediabeastnz/patch-1
Browse files Browse the repository at this point in the history
Updating image URLs to be Absolute
  • Loading branch information
gorriecoe authored Nov 7, 2018
2 parents e075a9c + b72f5ca commit 2226ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/Includes/MetaTags.ss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<% end_if %>
<% if TwitterImage %>
<meta twitter:card="summary_large_image" />
<meta twitter:image="{$TwitterImage}" />
<meta twitter:image="{$TwitterImage.AbsoluteURL}" />
<% end_if %>
<% if TwitterSite %>
<meta twitter:site="@{$TwitterSite}" />
Expand All @@ -32,7 +32,7 @@
<% end_if %>
<meta property="og:type" content="website" />
<% if OGImage %>
<meta property="og:image" content="{$OGImage}" />
<meta property="og:image" content="{$OGImage.AbsoluteURL}" />
<meta property="og:image:type" content="{$OGImage.MimeType}" />
<% end_if %>
<% if OGUrl %>
Expand Down

0 comments on commit 2226ebf

Please sign in to comment.