chore: add meta tags for images

This commit is contained in:
Oliver Davies 2023-10-24 00:14:49 +01:00
parent 95a27962f0
commit 36163bf8ad
2 changed files with 4 additions and 0 deletions

BIN
public/images/od-logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

@ -65,6 +65,10 @@ const showDrupalAssociationMessage = [
rel="stylesheet"
/>
<link rel="canonical" href={canonicalURL} />
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content={`${Astro?.site.origin}/images/od-logo.jpg`} />
<meta property="og:url" content={canonicalURL} />
<meta property="twitter:image" content={`${Astro?.site.origin}/images/od-logo.jpg`} />
<title>{isFrontPage ? title : `${title} | Oliver Davies`}</title>
<script
defer