-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsiteMetadata.ts
94 lines (93 loc) · 3.88 KB
/
siteMetadata.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
const siteMetadata = {
title: `OfferNow`,
author: "white0dew",
headerTitle: "OfferNow",
description:
"OfferNow|分享求职、工作、面试相关的内容,帮助广大的计算机爱好者更好地入门、进阶、加薪!快速拿到Offer!",
language: "zh-cn",
buildTime: "2023-08-01 10:14:12", // 建站时间
theme: "system", // system, dark or light
siteUrl: "https://offernow.cn",
siteRepo: "https://github.com/white0dew/offernow",
siteLogo: "/static/images/logo.png",
// socialBanner:
// "https://chev.contrails.space:12650/images/2023/03/28/44f8adeb18db19af2772e5e6436f31fb.png",
// mastodon: "https://mastodon.social/@mastodonuser",
email: "[email protected]",
github: "https://github.com/white0dew",
// twitter: "https://twitter.com/Twitter",
// facebook: "https://facebook.com",
// youtube: "https://youtube.com",
// linkedin: "https://www.linkedin.com",
juejin: "https://juejin.cn/user/4046645244199597/posts",
locale: "zh-CN",
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, 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
// Please add your .env file and modify it according to your selection
provider: "buttondown",
},
comments: {
// If you want to use an analytics provider you have to add it to the
// content security policy in the `next.config.js` file.
// Select a provider and use the environment variables associated to it
// https://vercel.com/docs/environment-variables
provider: "giscus", // supported providers: giscus, utterances, disqus
giscusConfig: {
// Visit the link below, and follow the steps in the 'configuration' section
// https://giscus.app/
repo: process.env.NEXT_PUBLIC_GISCUS_REPO,
repositoryId: process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,
category: process.env.NEXT_PUBLIC_GISCUS_CATEGORY,
categoryId: process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,
mapping: "pathname", // supported options: pathname, url, title
reactions: "1", // Emoji reactions: 1 = enable / 0 = disable
// Send discussion metadata periodically to the parent window: 1 = enable / 0 = disable
metadata: "0",
// theme example: light, dark, dark_dimmed, dark_high_contrast
// transparent_dark, preferred_color_scheme, custom
theme: "light",
// theme when dark mode
darkTheme: "transparent_dark",
// If the theme option above is set to 'custom`
// please provide a link below to your custom theme css file.
// example: https://giscus.app/themes/custom_example.css
themeURL: "",
// This corresponds to the `data-lang="en"` in giscus's configurations
lang: "en",
},
},
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',
// },
},
};
export default siteMetadata;