-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
173 lines (148 loc) · 3.29 KB
/
Copy pathconfig.toml
File metadata and controls
173 lines (148 loc) · 3.29 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
baseURL = "https://bullshitprogram.com"
title = "Bullshit Program"
languageCode = "en-us"
defaultContentLanguage = "en-us"
theme = "axiom"
defaultContentLanguageInSubdir = true
canonifyURLs = false
rssLimit = 100
enableEmoji = true
summaryLength = 40
enableRobotsTXT = true
pluralizelisttitles = false
footnoteReturnLinkContents = "↩"
disableKinds = ["taxonomy"]
[permalinks]
post = "/:contentbasename"
[params]
mainSections = ["post"]
copyrightYear = 2000
[params.services]
analyticsId = "G-SV147K5SLW"
adwordsId = "AW-DEV"
# adsense 广告
adsenseId = "ca-pub-8780811244685046"
adsenseAdSlotId = "4242936290"
adwordsConversionId = "ID-DEV"
# 如果你只是博客或内容网站 → 保持 0 就好
adwordsConversionValue = 0
# https://developers.facebook.com/
facebookApp = "FB-DEV"
facebookPixel = "FB-DEV"
disqusUser = "na"
[params.path]
image = "image/"
video = "video/"
author = "image/author/"
brand = "image/brand/"
font = "font/"
pdf = "pdf/"
[params.cdn]
provider = "local"
type = "image"
[params.cloudinary]
host = "https://res.cloudinary.com/CLOUD_NAME/"
version = ""
image = "image/upload/"
raw = "raw/upload/"
video = "video/upload/"
[params.cloudinary.presets]
base = "f_auto,q_auto/"
page = "w_auto,dpr_auto,c_scale,f_auto,q_auto/"
feature = "w_auto,dpr_auto,c_scale,f_auto,q_auto/"
summary = "w_auto,dpr_auto,c_scale,f_auto,q_auto/"
[params.img]
width = "2048"
height = "1024"
default = "clock.jpg"
[params.font]
type = ""
files = []
[params.brand]
domain = "www.bullshitprogram.com"
email = "unccav@gmail.com"
github = "p-program"
facebook = "example"
twitter = "example"
instagram = "example"
youtube = "example"
pinterest = "example"
linkedin = "example"
stacko = "10101010"
faviconIco = "favicon.ico"
faviconAlt = "favicon.png"
icon1To1 = "icon-1-1.png"
icon2To1 = "icon-2-1.png"
logo = "<svg class=\"fill-current\" viewBox=\"0 0 32 32\"><path d=\"M16,25 L32,25 L32,7 L28,7 L28,21 L26,21 L26,13 L22,13 L22,21 L18,21 L18,7 L16,7 L7,7 L7,11 L14,11 L14,21 L0,21 L0,25 L16,25 Z\"/></svg>"
[outputs]
home = ["HTML", "ATOM"]
section = ["HTML"]
taxonomy = ["HTML"]
[outputFormats]
[outputFormats.ATOM]
name = "ATOM"
baseName = "feed"
mediaType = "application/atom+xml"
[mediaTypes]
[mediaTypes."application/atom+xml"]
suffixes = ["atom"]
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = false
footnote = true
linkify = false
strikethrough = false
table = true
taskList = false
typographer = false
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.parser]
attribute = false
autoHeadingID = false
[markup.highlight]
codeFences = false
noClasses = false
tabWidth = 2
[markup.tableOfContents]
startLevel = 2
endLevel = 6
[menu]
[[menu.main]]
url = "/posts/"
name = "Posts"
weight = 1
[[menu.mobile]]
url = "/posts/"
name = "Posts"
weight = 1
[[menu.mobile]]
url = "/about/"
name = "About"
weight = 2
[[menu.foot]]
url = "/posts/"
name = "Posts"
weight = 1
[[menu.foot]]
url = "/about/"
name = "About"
weight = 2
# 多语言配置
[languages]
[languages.zh]
weight = 2
languageName = "中文"
languageCode = "zh"
hasCJKLanguage = true
[languages.en-us]
weight = 1
languageName = "US English"
languageCode = "en"
hasCJKLanguage = true
[languages.jp]
weight = 3
languageName = "日本語"
languageCode = "jp"
hasCJKLanguage = true