Skip to content
Discussion options

You must be logged in to vote

What does your theme.config.tsx look like?

If it looks something like this, consider removing the "- Nextra"

import type { DocsThemeConfig } from 'nextra-theme-docs'

const config: DocsThemeConfig = {
  ...,
  useNextSeoProps() {
    const { asPath } = useRouter()
    if (asPath !== '/') {
      return {
        titleTemplate: '%s – Nextra'
      }
    }
  },
  ...
}

export defualt config

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@nshiab
Comment options

@cyrildiagne
Comment options

Answer selected by nshiab
Comment options

You must be logged in to vote
3 replies
@hoshank
Comment options

@GermanJablo
Comment options

@dimaMachina
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants