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 7a43357 commit 86bb7acCopy full SHA for 86bb7ac
src/components/Layout/Page.tsx
@@ -58,6 +58,7 @@ export function Page({
58
const description = meta.description || route?.description || '';
59
const isHomePage = cleanedPath === '/';
60
const isBlogIndex = cleanedPath === '/blog';
61
+ const isReferencePage = cleanedPath.startsWith('/reference');
62
63
let content;
64
if (isHomePage) {
@@ -89,7 +90,7 @@ export function Page({
89
90
</LanguagesContext.Provider>
91
</TocContext.Provider>
92
</div>
- {!isBlogIndex && <EditThis />}
93
+ {isReferencePage && <EditThis />}
94
{!isBlogIndex && (
95
<DocsPageFooter
96
route={route}
0 commit comments