Skip to content

Commit b3088be

Browse files
authored
feat: add default parameters to config.yaml (#394)
This will avoid those ugly errors caused by forgetting to copy exampleSite/config.yaml to the site folder
1 parent 9859ea3 commit b3088be

File tree

1 file changed

+143
-0
lines changed

1 file changed

+143
-0
lines changed

config.yaml

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,146 @@ module:
22
hugoVersion:
33
extended: true
44
min: "0.87.0"
5+
6+
params:
7+
mainSections:
8+
- post
9+
featuredImageField: image
10+
rssFullContent: true
11+
favicon:
12+
13+
footer:
14+
since:
15+
customText:
16+
17+
dateFormat:
18+
published: Jan 02, 2006
19+
lastUpdated: Jan 02, 2006 15:04 MST
20+
21+
sidebar:
22+
emoji:
23+
subtitle:
24+
avatar:
25+
enabled: true
26+
local: true
27+
src: img/avatar.png
28+
29+
article:
30+
math: false
31+
toc: true
32+
readingTime: true
33+
license:
34+
enabled: false
35+
default: Licensed under CC BY-NC-SA 4.0
36+
37+
comments:
38+
enabled: false
39+
provider: disqus
40+
41+
disqusjs:
42+
shortname:
43+
apiUrl:
44+
apiKey:
45+
admin:
46+
adminLabel:
47+
48+
utterances:
49+
repo:
50+
issueTerm: pathname
51+
label:
52+
53+
remark42:
54+
host:
55+
site:
56+
locale:
57+
58+
vssue:
59+
platform:
60+
owner:
61+
repo:
62+
clientId:
63+
clientSecret:
64+
autoCreateIssue: false
65+
66+
# Waline client configuration see: https://waline.js.org/en/reference/client.html
67+
waline:
68+
serverURL:
69+
lang:
70+
visitor:
71+
avatar:
72+
emoji:
73+
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
74+
requiredMeta:
75+
- name
76+
- email
77+
- url
78+
placeholder:
79+
locale:
80+
admin: Admin
81+
82+
twikoo:
83+
envId:
84+
region:
85+
path:
86+
lang:
87+
88+
giscus:
89+
repo:
90+
repoID:
91+
category:
92+
categoryID:
93+
mapping:
94+
lightTheme:
95+
darkTheme:
96+
reactionsEnabled: 1
97+
emitMetadata: 0
98+
99+
gitalk:
100+
owner:
101+
admin:
102+
repo:
103+
clientID:
104+
clientSecret:
105+
106+
cusdis:
107+
host:
108+
id:
109+
110+
widgets:
111+
enabled:
112+
- search
113+
- archives
114+
- tag-cloud
115+
116+
archives:
117+
limit: 5
118+
119+
tagCloud:
120+
limit: 10
121+
122+
opengraph:
123+
twitter:
124+
# Your Twitter username
125+
site:
126+
127+
# Available values: summary, summary_large_image
128+
card: summary_large_image
129+
130+
defaultImage:
131+
opengraph:
132+
enabled: false
133+
local: false
134+
src:
135+
136+
colorScheme:
137+
# Display toggle
138+
toggle: true
139+
140+
# Available values: auto, light, dark
141+
default: auto
142+
143+
imageProcessing:
144+
cover:
145+
enabled: true
146+
content:
147+
enabled: true

0 commit comments

Comments
 (0)