Skip to content

Commit 16bf772

Browse files
committed
Adjust OG paths
1 parent ef7dba2 commit 16bf772

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/site/_includes/layouts/base.njk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Jamstack | JavaScript, APIs, and Markup
33
description: What is the Jamstack? Why use the Jamstack? How do I get started? Learn what the Jamstack is all about and why it's the best approach for building faster, more secure websites.
4+
ogimage: "/img/og/default-og-image.png"
45
---
56

67
<!doctype html>
@@ -19,12 +20,12 @@ description: What is the Jamstack? Why use the Jamstack? How do I get started? L
1920
<meta property="og:url" content="https://jamstack.org/">
2021
<meta property="og:description" content="{{ description }}">
2122
<meta property="og:type" content="website">
22-
<meta property="og:image" content="{{ netlify.deployUrl }}/img/og/default-og-image.png">
23+
<meta property="og:image" content="{{ netlify.deployUrl }}{{ ogimage }}">
2324
<meta property="twitter:card" content="summary_large_image">
2425
<meta property="twitter:url" content="https://jamstack.org/">
2526
<meta property="twitter:title" content="{{ title }} | Jamstack">
2627
<meta property="twitter:description" content="{{ description }}">
27-
<meta property="twitter:image" content="{{ netlify.deployUrl }}/img/og/default-og-image.png">
28+
<meta property="twitter:image" content="{{ netlify.deployUrl }}{{ ogimage }}">
2829
</head>
2930
<body class="bg-blue-900 text-blue-100 leading-relaxed antialiased">
3031
<svg width="0" height="0" aria-hidden="true" style="position: absolute;">

0 commit comments

Comments
 (0)