Skip to content

Commit

Permalink
Try to fix image URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
ButterscotchV committed Nov 18, 2024
1 parent 670019c commit 873c4e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_includes/layouts/embed.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<meta property="og:locale" content="en_US">

<link rel="canonical" href="{{ page.url }}">
<meta property="og:url" content="{{ page.url }}">
<link rel="canonical" href="{{ page.url | url }}">
<meta property="og:url" content="{{ page.url | url }}">

<meta property="og:site_name" content="{{ metadata.title }}">

Expand All @@ -11,8 +11,8 @@
<meta name="description" content="{{ description or metadata.description }}">
<meta property="og:description" content="{{ description or metadata.description }}">

<meta property="og:image" content="{{ image or metadata.image }}">
<meta property="twitter:image" content="{{ image or metadata.image }}">
<meta property="og:image" content="{{ image or metadata.image | url }}">
<meta property="twitter:image" content="{{ image or metadata.image | url }}">

<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
Expand Down

0 comments on commit 873c4e8

Please sign in to comment.