Skip to content

Commit 1da37a6

Browse files
committed
Improve SEO for Context7 guide and add og:image to Metadata component
1 parent 2481645 commit 1da37a6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

guides/vibe-coding-with-ravendb-and-context7.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Vibe Coding with RavenDB and Context7"
3-
tags: [getting-started, ai]
3+
tags: [getting-started, ai, integration]
44
icon: "ai"
5-
description: "Learn how to set up Context7 MCP with OpenAI Codex in VS Code to give your AI assistant direct access to RavenDB documentation — faster, context-rich vibe coding with fewer interruptions."
5+
description: "Set up Context7 MCP with OpenAI Codex in VS Code to give your AI direct access to RavenDB docs — faster, context-rich vibe coding with fewer interruptions."
66
keywords: [vibe coding, Context7, MCP, model context protocol, RavenDB, AI coding assistant, OpenAI Codex, VS Code, NoSQL prototype]
77
publishedAt: 2026-03-09
88
see_also:

src/theme/DocItem/Metadata/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default function MetadataWrapper(props: Props): ReactNode {
3232
const authorKey = frontMatter.author as string | undefined;
3333
const authorInfo = authorKey ? authorsData[authorKey as keyof typeof authorsData] : null;
3434
const publishedAt = frontMatter.publishedAt as string | undefined;
35+
const keywords = frontMatter.keywords as string[] | undefined;
3536

3637
const ogImageUrl = `${baseUrl}/img/social-card.jpg`;
3738

@@ -52,6 +53,7 @@ export default function MetadataWrapper(props: Props): ReactNode {
5253
? { dateModified: publishedAt }
5354
: {}),
5455
inLanguage: "en",
56+
...(keywords?.length ? { keywords } : {}),
5557
...(authorInfo
5658
? {
5759
author: {
@@ -110,6 +112,7 @@ export default function MetadataWrapper(props: Props): ReactNode {
110112
{title && <meta property="og:title" content={title} />}
111113
<meta property="og:type" content="article" />
112114
<meta property="og:url" content={canonicalUrl} />
115+
<meta property="og:image" content={ogImageUrl} />
113116
<meta name="twitter:card" content="summary_large_image" />
114117
{title && <meta name="twitter:title" content={title} />}
115118
{description && <meta name="twitter:description" content={description} />}

0 commit comments

Comments
 (0)