Added "og:" meta tags.
This should allow for additional card support, e.g. in Discord.
This commit is contained in:
parent
cb4853c09f
commit
882e6f5a92
3 changed files with 12 additions and 2 deletions
8
src/components/Meta.astro
Normal file
8
src/components/Meta.astro
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
const { title, image } = Astro.props;
|
||||
---
|
||||
{title && <meta property="og:title" content={title} />}
|
||||
{image && <meta property="og:image" content=`https://bashelton.com${image}` />}
|
||||
<meta property="og:description" content="Just Us Class Notes and Resources" />
|
||||
<meta property="og:url" content="https://bashelton.com/sundays" />
|
||||
<meta property="og:type" content="website" />
|
||||
Loading…
Reference in a new issue