We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0640110 commit a3bb27dCopy full SHA for a3bb27d
src/components/Layout/index.tsx
@@ -42,6 +42,8 @@ export default function Layout({
42
.filter((s) => s !== '')
43
.join(' - ');
44
45
+ const current = meta.title.includes('Contribut') ? 'Contribute' : 'Docs';
46
+
47
return (
48
<>
49
{meta && (
@@ -83,7 +85,7 @@ export default function Layout({
83
85
leftLinks={LEFT_NAV_LINKS as NavMenuItem[]}
84
86
rightLinks={RIGHT_NAV_LINKS as NavMenuItem[]}
87
socialLinks={SOCIAL_LINKS as NavMenuItem[]}
- currentSite={'Docs'}
88
+ currentSite={current}
89
/>
90
<SecondaryNav />
91
<Container backgroundColor="bg-color-tertiary">
0 commit comments