mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 01:28:32 +00:00
Point google to /federation page (#6018)
This commit is contained in:
parent
1878b08bc8
commit
c86368204f
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
---
|
||||
# Let's point Google to the /federation page page instead
|
||||
canonical: /federation
|
||||
---
|
||||
|
||||
import NextImage from 'next/image'
|
||||
import { Callout, Cards, FileTree, Steps, Tabs } from '@theguild/components'
|
||||
import cdnAccessTokenSettings from '../../../../public/docs/pages/get-started/apollo-federation/cdn-access-token-settings.png'
|
||||
|
|
|
|||
|
|
@ -79,9 +79,9 @@ export default defineConfig({
|
|||
const isGatewayDocsPage = pagePath.route.includes('/docs/gateway');
|
||||
const suffix = isGatewayDocsPage ? 'Hive Gateway' : 'Hive';
|
||||
const title = `${pageTitle} - ${suffix}`;
|
||||
const { description = `${siteName}: ${siteDescription}` } = frontMatter;
|
||||
const { description = `${siteName}: ${siteDescription}`, canonical } = frontMatter;
|
||||
|
||||
const canonicalUrl = ensureAbsolute(pagePath.route);
|
||||
const canonicalUrl = ensureAbsolute(canonical ?? pagePath.route);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in a new issue