blob: 60654e8871bc9eecd9a1decc79ab8701ba0d89e4 (
plain)
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
stackbitVersion: ~0.2.39
ssgName: custom
publishDir: exampleSite/public
buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd ..
uploadDir: uploads
staticDir: exampleSite/static
pagesDir: exampleSite/content
dataDir: exampleSite
models:
config:
type: data
label: Config
file: config.toml
fields:
- type: string
name: title
label: Title
required: true
- type: string
name: baseURL
label: Base URL
description: Hostname (and path) to the root
hidden: false
- type: string
name: languageCode
label: Language Code
hidden: true
- type: string
name: MetaDataFormat
label: MetaDataFormat
hidden: true
- type: string
name: DefaultContentLanguage
label: DefaultContentLanguage
hidden: true
- type: string
name: themesDir
label: Themes Directory
hidden: true
- type: string
name: theme
label: Theme Name
hidden: true
- type: string
name: SectionPagesMenu
label: Main Section
hidden: false
- type: number
name: Paginate
label: Paginate Per Page
hidden: false
- type: boolean
name: enableRobotsTXT
label: Enable Robots
hidden: true
- type: string
name: googleAnalytics
label: Google Analytics ID
- type: object
name: sitemap
label: sitemap
hidden: true
fields:
- type: string
name: changefreq
label: changefreq
- type: number
subtype: float
name: priority
label: priority
- type: string
name: filename
label: filename
- type: object
name: params
label: Params
description: Site parameters
required: true
fields:
- type: string
name: featured_image
label: Logo
- type: string
name: favicon
label: Favicon
- type: string
name: description
label: Description
- type: string
name: description
label: Description
- type: string
name: facebook
label: Facebook
- type: string
name: stackoverflow
label: StackOverflow
- type: string
name: twitter
label: Twitter
- type: string
name: instagram
label: Instagram
- type: string
name: youtube
label: Youtube
- type: string
name: github
label: Github
- type: string
name: gitlab
label: Gitlab
- type: string
name: linkedin
label: Linkedin
- type: string
name: mastodon
label: Mastodon
- type: string
name: slack
label: Slack
- type: string
name: background_color_class
label: background_color_class
- type: number
name: recent_posts_number
label: recent_posts_number
home:
type: page
label: Home
file: _index.md
hideContent: false
singleInstance: true
layout: index.html
fields:
- type: string
name: title
label: Title
description: The title of the page.
required: true
- type: image
name: featured_image
label: Featured Image
description: Image displayed at in the pages intro section
- type: string
name: description
label: Description
- type: string
name: layout
label: layout
basicpage:
type: page
label: Basic Page
match: "*.md"
exclude: _index.md
layout: page/single.html
fields:
- type: string
name: title
label: Title
description: The title of the page.
- type: string
name: type
label: type
default: page
- type: boolean
name: omit_header_text
label: omit_header_text
description: The title of the page.
- type: image
name: featured_image
label: Featured Image
description: Image displayed at in the pages intro section
- type: string
name: description
label: Description
- type: enum
name: menu
label: Menu
options:
- label: Main Menu
value: main
type: object
section:
type: page
label: Section
match: "*/_index.md"
layout: _default/list.html
fields:
- type: string
name: title
label: Title
description: The title of the page.
- type: image
name: featured_image
label: Featured Image
description: Image displayed at in the pages intro section
- type: string
name: description
label: Description
- type: date
name: date
label: Date
- type: enum
name: menu
label: menu
default: main
options:
- label: main
value: main
post:
type: page
label: Posts
folder: post
exclude: _index.md
layout: _default/single.html
fields:
- type: string
name: title
label: Title
- type: date
name: date
label: Date
- type: image
name: featured_image
label: Featured Image
description: Image displayed at in the pages intro section
- type: string
name: description
label: Description
- type: enum
name: tags
label: tags
- type: boolean
name: draft
label: Draft
|