Skip to content

Commit 873c4e8

Browse files
committed
Try to fix image URLs
1 parent 670019c commit 873c4e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/_includes/layouts/embed.njk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<meta property="og:locale" content="en_US">
22

3-
<link rel="canonical" href="{{ page.url }}">
4-
<meta property="og:url" content="{{ page.url }}">
3+
<link rel="canonical" href="{{ page.url | url }}">
4+
<meta property="og:url" content="{{ page.url | url }}">
55

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

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

14-
<meta property="og:image" content="{{ image or metadata.image }}">
15-
<meta property="twitter:image" content="{{ image or metadata.image }}">
14+
<meta property="og:image" content="{{ image or metadata.image | url }}">
15+
<meta property="twitter:image" content="{{ image or metadata.image | url }}">
1616

1717
<meta property="og:type" content="website">
1818
<meta name="twitter:card" content="summary">

0 commit comments

Comments
 (0)