Skip to content

Commit

Permalink
Added docsearch:version
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Oct 30, 2023
1 parent 1983023 commit 0c3af94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/[versionSlug]/[...pagePath]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ export async function generateMetadata({
alternates: {
canonical: getPagePath(guide, pageId),
},
other: {
"docsearch:version": versionSlug,
},
};
} else {
return {};
Expand Down

0 comments on commit 0c3af94

Please sign in to comment.