Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatdeveloperguy-website / app/components/publication/JsonLd.tsx |
| Date | Not specified in source |
| Repository | Janady13/thatdeveloperguy-website |
| Revision | 2bea2ebdff0e34494bff597d4fa9c8422a0c3a94 |
| Branch | main |
| Path or archive member | app/components/publication/JsonLd.tsx |
| Original SHA-256 | 52374d60d6a6dd9c783c26ff8e710a89bd7ae4a3108c817b83320961c33e0e11 |
| Git blob SHA | 706ea7b95166c7a9c15ff72d2dfcdbfdb2252b90 |
| Reading-copy SHA-256 | 52374d60d6a6dd9c783c26ff8e710a89bd7ae4a3108c817b83320961c33e0e11 |
Recovered source transcript
Download complete source text ↓9 lines · 0.5 KB
import type { CompiledPage } from '../../../src/contracts/page';
import { assemblePageGraph } from '../../../src/engines/seo/structured-data/assemble-page-graph';
/** A data block, not executable script: CSP script-src does not govern application/ld+json. */
export function JsonLd({ page }: { page: CompiledPage }) {
const graph = assemblePageGraph(page);
return <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(graph).replace(/</g, '\\u003c') }} />;
}