Added "og:" meta tags.

This should allow for additional card support, e.g. in Discord.
This commit is contained in:
Benjamin A. Shelton 2026-08-10 14:59:05 -06:00
commit 882e6f5a92
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 12 additions and 2 deletions

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