This commit is contained in:
@@ -21,12 +21,21 @@ const siteMetadata = {
|
||||
analytics: {
|
||||
// If you want to use an analytics provider you have to add it to the
|
||||
// content security policy in the `next.config.js` file.
|
||||
// supports plausible, simpleAnalytics, umami or googleAnalytics
|
||||
plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app
|
||||
simpleAnalytics: false, // true or false
|
||||
umamiWebsiteId: '', // e.g. 123e4567-e89b-12d3-a456-426614174000
|
||||
googleAnalyticsId: '', // e.g. UA-000000-2 or G-XXXXXXX
|
||||
posthogAnalyticsId: '', // posthog.init e.g. phc_5yXvArzvRdqtZIsHkEm3Fkkhm3d0bEYUXCaFISzqPSQ
|
||||
// supports Plausible, Simple Analytics, Umami, Posthog or Google Analytics.
|
||||
umamiAnalytics: {
|
||||
// We use an env variable for this site to avoid other users cloning our analytics ID
|
||||
umamiWebsiteId: process.env.NEXT_UMAMI_ID, // e.g. 123e4567-e89b-12d3-a456-426614174000
|
||||
},
|
||||
// plausibleAnalytics: {
|
||||
// plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app
|
||||
// },
|
||||
// simpleAnalytics: {},
|
||||
// posthogAnalytics: {
|
||||
// posthogProjectApiKey: '', // e.g. 123e4567-e89b-12d3-a456-426614174000
|
||||
// },
|
||||
// googleAnalytics: {
|
||||
// googleAnalyticsId: '', // e.g. G-XXXXXXX
|
||||
// },
|
||||
},
|
||||
newsletter: {
|
||||
// supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus
|
||||
@@ -80,6 +89,20 @@ const siteMetadata = {
|
||||
url: process.env.NEXT_PUBLIC_COMMENTO_URL,
|
||||
},
|
||||
},
|
||||
search: {
|
||||
provider: 'kbar', // kbar or algolia
|
||||
kbarConfig: {
|
||||
searchDocumentsPath: 'search.json', // path to load documents to search
|
||||
},
|
||||
// provider: 'algolia',
|
||||
// algoliaConfig: {
|
||||
// // The application ID provided by Algolia
|
||||
// appId: 'R2IYF7ETH7',
|
||||
// // Public API key: it is safe to commit it
|
||||
// apiKey: '599cec31baffa4868cae4e79f180729b',
|
||||
// indexName: 'docsearch',
|
||||
// },
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = siteMetadata;
|
||||
|
Reference in New Issue
Block a user