Update theme.config.jsx

This commit is contained in:
Zheyuan Wu
2024-12-10 23:29:52 -06:00
parent a37ceece0e
commit ce830c9943

View File

@@ -31,11 +31,12 @@ export default {
const { asPath, defaultLocale, locale } = useRouter()
const { frontMatter } = useConfig()
const url =
'https://vercel.com/notenextra' +
'https://notenextra.trance-0.com' +
(defaultLocale === locale ? asPath : `/${locale}${asPath}`)
return (
<>
<title>{frontMatter.title || 'NoteNextra'}</title>
<meta property="og:url" content={url} />
<meta property="og:title" content={frontMatter.title || 'NoteNextra'} />
<meta