Skip to content

Commit

Permalink
Merge pull request #181 from authzed/fix-hreflang-issue
Browse files Browse the repository at this point in the history
Fix hreflang semrush issue
  • Loading branch information
alexmarple authored Nov 29, 2023
2 parents 27e3845 + 2249a69 commit d29b983
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ module.exports = {
baseUrl: env('DOCUSAURUS_BASE_URL', '/docs/'),
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate',
hreflang: 'en',
href: 'https://www.authzed/docs/',
},
},
{
tagName: 'link',
attributes: {
rel: 'alternate',
hreflang: 'x-default',
href: 'https://www.authzed/docs/',
},
},
],
staticDirectories: ['static'],
customFields: {
amplitudeApiKey: env('AMPLITUDE_API_KEY', ''),
Expand Down

1 comment on commit d29b983

@vercel
Copy link

@vercel vercel bot commented on d29b983 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

docs-sigma-two.vercel.app
docs-git-main-authzedse.vercel.app
docs-authzedse.vercel.app

Please sign in to comment.