Skip to content

Commit 2969a31

Browse files
committed
Add structured data for personal website and author information
1 parent e0f8b3c commit 2969a31

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/layouts/BaseLayout.astro

+33
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,39 @@ const { pageTitle } = Astro.props;
1818
/>
1919
<meta name="theme-color" content="#111827" />
2020
<title>{pageTitle ? `${pageTitle} | Brylie` : "Brylie"}</title>
21+
<!-- Structured Data -->
22+
<script type="application/ld+json">
23+
{
24+
"@context": "https://schema.org",
25+
"@graph": [
26+
{
27+
"@type": "Person",
28+
"@id": "https://brylie.online/#person",
29+
"name": "Brylie Christopher Oxley",
30+
"givenName": "Brylie",
31+
"familyName": "Oxley",
32+
"additionalName": "Christopher",
33+
"url": "https://brylie.online",
34+
"sameAs": [
35+
"https://github.com/brylie",
36+
"https://www.linkedin.com/in/brylie",
37+
"https://dev.to/brylie",
38+
"https://www.youtube.com/@brylie"
39+
]
40+
},
41+
{
42+
"@type": "WebSite",
43+
"@id": "https://brylie.online/#website",
44+
"url": "https://brylie.online",
45+
"name": "Brylie Christopher Oxley",
46+
"description": "Personal website featuring projects, blog posts, and professional information",
47+
"publisher": {
48+
"@id": "https://brylie.online/#person"
49+
}
50+
}
51+
]
52+
}
53+
</script>
2154
<!-- Preconnect to Google Fonts -->
2255
<link rel="preconnect" href="https://fonts.googleapis.com" />
2356
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />

0 commit comments

Comments
 (0)