Skip to content

Commit 19977f3

Browse files
committed
improve schema
1 parent af136d4 commit 19977f3

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

doc/.vitepress/config.mjs

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,38 @@ const baseHeaders = [
6262
},
6363
],
6464
["link", { rel: "icon", type: "image/png", href: "/favicon.png" }],
65-
// Ensure Google displays the site as CodeCompanion.nvim in search results
6665
[
6766
"script",
6867
{ type: "application/ld+json" },
6968
JSON.stringify({
7069
"@context": "https://schema.org",
71-
"@type": "WebSite",
72-
name: "CodeCompanion.nvim",
73-
url: "https://codecompanion.olimorris.dev",
70+
"@graph": [
71+
{
72+
"@type": "WebSite",
73+
name: "CodeCompanion.nvim",
74+
url: siteUrl,
75+
},
76+
{
77+
"@type": "SoftwareApplication",
78+
name: "CodeCompanion.nvim",
79+
description:
80+
"AI coding, Vim style. CodeCompanion is a plugin which enables you to code with AI, using LLMs and agents, in Neovim.",
81+
applicationCategory: "DeveloperApplication",
82+
operatingSystem: "Linux, macOS, Windows",
83+
url: siteUrl,
84+
downloadUrl: "https://github.com/olimorris/codecompanion.nvim",
85+
author: {
86+
"@type": "Person",
87+
name: "Oli Morris",
88+
url: "https://github.com/olimorris",
89+
},
90+
offers: {
91+
"@type": "Offer",
92+
price: "0",
93+
priceCurrency: "USD",
94+
},
95+
},
96+
],
7497
}),
7598
],
7699
];

0 commit comments

Comments
 (0)