Skip to content

Commit f5e8495

Browse files
committed
refactor(SEO): Added website structured json data for SEO
1 parent f7bd14a commit f5e8495

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,21 @@ const config = {
7676
themeConfig:
7777
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7878
({
79+
headTags: [
80+
{
81+
tagName: 'script',
82+
attributes: {
83+
type: 'application/ld+json',
84+
},
85+
innerHTML: JSON.stringify({
86+
'@context': 'https://schema.org/',
87+
'@type': 'CreativeWork',
88+
name: 'VRCFaceTracking Docs',
89+
url: 'https://docs.vrcft.io/',
90+
logo: 'https://docs.vrcft.io/img/logo.svg',
91+
}),
92+
},
93+
],
7994
colorMode: {
8095
defaultMode: 'dark',
8196
respectPrefersColorScheme: true,

0 commit comments

Comments
 (0)