mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 08:00:26 +03:00
- Introduced OpenGraph component for enhanced social media sharing with Open Graph meta tags. - Updated Head component to include OpenGraph and JSON-LD for improved SEO and structured data representation. - Added comments for better clarity on meta tags and JSON-LD integration.
14 lines
271 B
Plaintext
14 lines
271 B
Plaintext
---
|
|
import type { WithContext, Thing } from "schema-dts";
|
|
|
|
type Props = {
|
|
readonly schema: WithContext<Thing>;
|
|
};
|
|
|
|
const { schema } = Astro.props;
|
|
const json = JSON.stringify(schema);
|
|
---
|
|
|
|
<!-- JSON-LD -->
|
|
<script is:inline type="application/ld+json" set:html={json} />
|