mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 08:26:35 +00:00
Fix page title
This commit is contained in:
@@ -23,12 +23,9 @@ export default function App({ Component, pageProps }) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
{router.pathname === '/' ? (
|
{router.route.startsWith('/ipa') ?
|
||||||
<title>NetBird Docs</title>
|
<title>{`${pageProps.title} - NetBird API`}</title> : <title>{`${pageProps.title} - NetBird Docs`}</title>
|
||||||
) : (
|
}
|
||||||
router.pathname.startsWith('/docs') ?
|
|
||||||
<title>{`${pageProps.title} - NetBird Docs`}</title> : <title>{`${pageProps.title} - NetBird API`}</title>
|
|
||||||
)}
|
|
||||||
<meta name="description" content={pageProps.description} />
|
<meta name="description" content={pageProps.description} />
|
||||||
</Head>
|
</Head>
|
||||||
<MDXProvider components={mdxComponents}>
|
<MDXProvider components={mdxComponents}>
|
||||||
|
|||||||
Reference in New Issue
Block a user