Add cache-busting query param to OG images
Some checks failed
Deploy to Netlify / deploy (push) Has been cancelled
Some checks failed
Deploy to Netlify / deploy (push) Has been cancelled
This commit is contained in:
parent
22ab2221fd
commit
6334dadf92
1 changed files with 2 additions and 2 deletions
|
|
@ -55,14 +55,14 @@ const { title, description, image = "/astro-micro.jpg" } = Astro.props;
|
|||
<meta property="og:url" content={finalCanonicalURL} />
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:image" content={new URL(image, Astro.url)} />
|
||||
<meta property="og:image" content={new URL(image + '?v=2', Astro.url)} />
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:url" content={finalCanonicalURL} />
|
||||
<meta property="twitter:title" content={title} />
|
||||
<meta property="twitter:description" content={description} />
|
||||
<meta property="twitter:image" content={new URL(image, Astro.url)} />
|
||||
<meta property="twitter:image" content={new URL(image + '?v=2', Astro.url)} />
|
||||
|
||||
<!-- PageFind -->
|
||||
<link href="/pagefind/pagefind-ui.css" rel="stylesheet" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue