We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ff2253 commit 3b968caCopy full SHA for 3b968ca
public/assets/classic-og.png
96.2 KB
public/assets/gen2-og.png
95.5 KB
src/components/Layout/Layout.tsx
@@ -190,7 +190,7 @@ export const Layout = ({
190
<meta property="og:url" content={metaUrl} key="og:url" />
191
<meta
192
property="og:image"
193
- content="https://docs.amplify.aws/assets/ogp.jpg"
+ content={`https://docs.amplify.aws/assets/${isGen2 ? 'gen2' : 'classic'}-og.png`}
194
key="og:image"
195
/>
196
<meta property="description" content={description} key="description" />
@@ -203,7 +203,7 @@ export const Layout = ({
203
204
205
property="twitter:image"
206
207
key="twitter:image"
208
209
</Head>
0 commit comments