-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
38 lines (30 loc) · 2.72 KB
/
config.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
export default {
/** -------------------------------------------------以下必须修改----------------------------------------------------- */
githubName: "dengsong666", // 必须修改,github账户名
/** -------------------------------------------------以下可选修改----------------------------------------------------- */
title: "dsblog", // 网站标题
nickName: "中微子", // 昵称
domain: "https://blog.dengsong.asia", // rss域名
SEO_title: " - ds blog", // 搜索引擎显示的标题
SEO_keywords: "中微子,中微子的博客", // keywords meta header
MSClarityId: "", // Microsoft的Clarity统计,https://clarity.microsoft.com/
CloudflareAnalyze: "", // cloudflare的统计,https://developers.cloudflare.com/analytics/web-analytics
CommentRepoId: "R_kgDOLtoFfQ", // https://giscus.app/zh-CN
CommentDiscussionCategoryId: "DIC_kwDOLtoFfc4Ceqdh", // https://giscus.app/zh-CN
Comment: { // 是否开启评论,请先设置上面的 CommentRepoId 和 CommentDiscussionCategoryId
articles: true, // “文章”是否开启评论
records: false, // “记录”是否开启评论
knowledges: false // “文化”是否开启评论
},
MongoDb: { // 浏览量统计,请先设置 https://vercel.com/integrations/mongodbatlas
database: "nuxt3-blog",
collection: "visitors",
initialVisitors: 1, // 如果设置成10000,那么发一篇文章立马就有10000个浏览量!
visitFromOwner: false // 网站拥有者访问时,是否增加浏览量
},
themeColor: "#2aa0bb", // 主题色
defaultLang: "zh", // default language, "zh" and "en" are supported currently
timezone: "Asia/Shanghai", // timezone, please refer to https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
/** -------------------------------------------------注意----------------------------------------------------- */
githubRepo: "nuxt3-blog" // 需要与仓库名一致,如果fork时更改了仓库名,则这里也要改
};