forked from GetPublii/theme-Blank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
174 lines (174 loc) · 4.79 KB
/
config.json
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
174
{
"name": "Blank",
"version": "1.0.0.0",
"author": "TidyCustoms <https://tidycustoms.net/>",
"renderer": {
"relatedPostsNumber": 3,
"renderRelatedPosts": true,
"renderSimilarPosts": false,
"renderPrevNextPosts": true,
"createContentStructure": true,
"includeFeaturedInPosts": true,
"tagsIncludeFeaturedInPosts": true,
"authorsIncludeFeaturedInPosts": true,
"featuredPostsNumber": 0,
"tagsFeaturedPostsNumber": 0,
"authorsFeaturedPostsNumber": 0,
"create404page": true,
"customHTML": {
"beforePost": "Before every post",
"afterPost": "After every post"
}
},
"menus": {
"mainMenu": "Main menu",
"footerMenu": "Footer menu"
},
"config": [
{
"name": "postsPerPage",
"label": "Posts per page",
"value": 12,
"type": "number"
},
{
"name": "tagsPostsPerPage",
"label": "Tags posts per page",
"value": 12,
"type": "number"
},
{
"name": "authorsPostsPerPage",
"label": "Authors posts per page",
"value": 12,
"type": "number"
},
{
"name": "excerptLength",
"label": "Excerpt length",
"value": 25,
"type": "number"
},
{
"name": "logo",
"label": "Website logo",
"value": "",
"type": "upload",
"upload": true
}
],
"customConfig": [
{
"name": "mainWidth",
"label": "Main width",
"group": "Layout",
"value": "860px",
"type": "text"
},
{
"name": "sidebarWidth",
"label": "Sidebar width",
"group": "Layout",
"value": "300px",
"type": "text"
},
{
"name": "separator",
"type": "separator",
"label": "Selected Posts",
"group": "Sidebar",
"size": "small"
},
{
"name": "selectedPosts",
"label": "Source",
"group": "Sidebar",
"note": "Display posts from the specified tag",
"value": "",
"type": "tags-dropdown"
},
{
"name": "amountSelectedtPosts",
"label": "Number of posts",
"group": "Sidebar",
"value": "3",
"type": "text"
},
{
"name": "separator",
"type": "separator",
"label": "Authors",
"group": "Sidebar",
"size": "big"
},
{
"name": "authors",
"label": "On / Off",
"group": "Sidebar",
"note": "Enable or disable the authors section",
"value": true,
"type": "checkbox"
},
{
"name": "authorsNumber",
"label": "Number of authors",
"group": "Sidebar",
"value": "5",
"type": "range",
"min": 1,
"max": 10,
"step": 1
},
{
"name": "separator",
"type": "separator",
"label": " ",
"group": "Additional",
"size": "small"
},
{
"name": "faviconUpload",
"label": "Upload favicon file",
"group": "Additional",
"note": "The ideal size of a favicon is 16x16 pixels. Save your favicon as either favicon.png or favicon.ico",
"value": "",
"type": "smallupload",
"upload": true
},
{
"name": "faviconExtension",
"label": "Favicon extension",
"group": "Additional",
"value": "image/x-icon",
"type": "select",
"options": [
{
"label": ".ico",
"value": "image/x-icon"
},
{
"label": ".png",
"value": "image/png"
}
]
}
],
"postConfig": [
{
"name": "displayAuthorBio",
"label": "Display author bio",
"value": 1,
"type": "select",
"options": [
{
"label": "Enabled",
"value": 1
},
{
"label": "Disabled",
"value": 0
}
]
}
]
}