sundays/src/components/Meta.astro
Benjamin A. Shelton 882e6f5a92
Added "og:" meta tags.
This should allow for additional card support, e.g. in Discord.
2026-08-10 14:59:05 -06:00

8 lines
No EOL
373 B
Text

---
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" />