-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
100 lines (83 loc) · 2.59 KB
/
config.toml
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
95
96
97
98
99
baseURL = ""
languageCode = "zh" # html的lang属性值
DefaultContentLanguage = "zh" # 默认内容语言用于选择i18n语言模板
title = "Cyan's Blog 🎏"
theme = "hello-friend-ng"
subtitle = "Record And Share"
keywords = "js,javascript,nodejs,css,,html,git,前端,后端,原创"
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
readOtherPosts = "阅读更多"
pygmentsCodeFencesGuessSyntax = true
disableAliases = true # 使用 Netlify 301 重定向
pygmentsCodeFences = true
googleAnalytics = 'UA-139468050-1'
disqusShortname = "cyan-blog"
canonifyURLs = true # 启用将相对URL转换为绝对URL
enableGitInfo = false # 使能git信息
summaryLength = 70
hasCJKLanguage = true
[author]
name = "LL"
email = "[email protected]"
[taxonomies]
tag = "tags"
# 配置自定义输出:产生 netlify 重定向配置文件 _redirects
[outputs]
home = ["HTML", "REDIR", "JSON", "RSS"]
[mediaTypes]
[mediaTypes."text/netlify"]
delimiter = ""
[outputFormats]
[outputFormats.REDIR]
mediatype = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
# 自定义成参数和主题设置
[params]
dateform = "2006-01-02"
dateformShort = "2006-01-02"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
# 首页配置
homeSubtitle = "Record And Share"
# Metadata mostly used in document's head
description = "Reactcircle Record And Share"
keywords = "js,javascript,nodejs,css,,html,git,前端,后端,原创"
# Directory name of your blog content (default is `content/posts`)
contentTypeName = "posts"
# Default theme "light" or "dark"
defaultTheme = "dark"
# 自定义CSS
customCSS = ['/css/main.css']
# 自定义JS
# customJS = ['/js/anchorforid.js', '/js/fuse.min.js', '/js/search.js']
customJS = ['/js/anchorforid.js', '/js/main.js']
gitUrl = 'https://github.com/dragonlau0924/'
# 首页社交配置
[[params.social]]
name = "github"
url = "https://github.com/dragonlau0924"
[[params.social]]
name = "email"
url = "mailto:[email protected]"
[params.logo]
logoText = "Cyan 🎏"
logoHomeLink = "/"
[menu]
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "/posts"
[[menu.main]]
identifier = "tag"
name = "Tags"
url = "/tags"
[[menu.main]]
identifier = "series"
name = "Series"
url = "/series"
[[menu.main]]
identifier = "about"
name = "About"
url = "/about"