We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cf05ca commit 0fde296Copy full SHA for 0fde296
1 file changed
‎packages/docs/app/.vitepress/config.mts‎
@@ -57,8 +57,12 @@ export default async () => {
57
}
58
]);
59
60
- if (pageData.relativePath.includes('hooks')) {
61
- pageData.title = pageData.params?.name;
+ if (pageData.relativePath.includes('hooks') && pageData.params?.name) {
+ const name = pageData.params.name as string;
62
+ const description = (pageData.params.description as string) ?? '';
63
+
64
+ pageData.title = `${name} React hook Reactuse siberiacancode`;
65
+ pageData.description = description;
66
67
},
68
head: [
0 commit comments