Skip to content

Commit

Permalink
add zd-site-verification meta tag (#9532)
Browse files Browse the repository at this point in the history
* Update layout.tsx

We need to ensure that the docs site has the following meta tag:

<meta name='zd-site-verification' content='ocu6mswx6pke3c6qvozr2e' />

This will allow Zendesk's Help Center to crawl the site and index docs content for search.

More info here: https://support.zendesk.com/hc/en-us/articles/4593564000410-Setting-up-the-search-crawler

* use proper syntax for custom meta tag

---------

Co-authored-by: abdellah hariti <[email protected]>
  • Loading branch information
souredoutlook and a-hariti committed Mar 23, 2024
1 parent 1d406de commit a582f0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export const metadata: Metadata = {
openGraph: {
images: 'https://docs.sentry.io/changelog/assets/og.png',
},
other: {
'zd-site-verification': 'ocu6mswx6pke3c6qvozr2e',
},
};

export default function RootLayout({children}: {children: React.ReactNode}) {
Expand Down

0 comments on commit a582f0a

Please sign in to comment.