diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ebbda1c..138266d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,9 +3,10 @@ interface Props { title: string; ogTitle?: string; ogDescription?: string; + ogURL?: string; } -const { title, ogTitle, ogDescription } = Astro.props; +const { title, ogTitle, ogDescription, ogURL } = Astro.props; import "../styles/main.css"; --- @@ -20,7 +21,7 @@ import "../styles/main.css"; - + + ogDescription={entry.data.summary} + ogURL={URL.toString()}>
{ entry.collection === "blog" ? (