Merge pull request #985 from ffffffffspace/abernier-patch-1

more BASE_PATH catches
This commit is contained in:
Timothy 2024-07-30 17:21:04 +08:00 committed by GitHub
commit cf64f3bf02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,8 +8,8 @@ const siteMetadata = {
theme: 'system', // system, dark or light
siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app',
siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog',
siteLogo: '/static/images/logo.png',
socialBanner: '/static/images/twitter-card.png',
siteLogo: `${process.env.BASE_PATH || ''}/static/images/logo.png`,
socialBanner: `${process.env.BASE_PATH || ''}/static/images/twitter-card.png`,
mastodon: 'https://mastodon.social/@mastodonuser',
email: 'address@yoursite.com',
github: 'https://github.com',