1stackbitVersion: ~0.2.39
2ssgName: custom
3publishDir: exampleSite/public
4buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd ..
5uploadDir: uploads
6staticDir: exampleSite/static
7pagesDir: exampleSite/content
8dataDir: exampleSite
9models:
10 config:
11 type: data
12 label: Config
13 file: config.toml
14 fields:
15 - type: string
16 name: title
17 label: Title
18 required: true
19 - type: string
20 name: baseURL
21 label: Base URL
22 description: Hostname (and path) to the root
23 hidden: false
24 - type: string
25 name: languageCode
26 label: Language Code
27 hidden: true
28 - type: string
29 name: MetaDataFormat
30 label: MetaDataFormat
31 hidden: true
32 - type: string
33 name: DefaultContentLanguage
34 label: DefaultContentLanguage
35 hidden: true
36 - type: string
37 name: themesDir
38 label: Themes Directory
39 hidden: true
40 - type: string
41 name: theme
42 label: Theme Name
43 hidden: true
44 - type: string
45 name: SectionPagesMenu
46 label: Main Section
47 hidden: false
48 - type: number
49 name: Paginate
50 label: Paginate Per Page
51 hidden: false
52 - type: boolean
53 name: enableRobotsTXT
54 label: Enable Robots
55 hidden: true
56 - type: string
57 name: googleAnalytics
58 label: Google Analytics ID
59 - type: object
60 name: sitemap
61 label: sitemap
62 hidden: true
63 fields:
64 - type: string
65 name: changefreq
66 label: changefreq
67 - type: number
68 subtype: float
69 name: priority
70 label: priority
71 - type: string
72 name: filename
73 label: filename
74 - type: object
75 name: params
76 label: Params
77 description: Site parameters
78 required: true
79 fields:
80 - type: string
81 name: featured_image
82 label: Logo
83 - type: string
84 name: favicon
85 label: Favicon
86 - type: string
87 name: description
88 label: Description
89 - type: string
90 name: description
91 label: Description
92 - type: string
93 name: facebook
94 label: Facebook
95 - type: string
96 name: stackoverflow
97 label: StackOverflow
98 - type: string
99 name: twitter
100 label: Twitter
101 - type: string
102 name: instagram
103 label: Instagram
104 - type: string
105 name: youtube
106 label: Youtube
107 - type: string
108 name: github
109 label: Github
110 - type: string
111 name: gitlab
112 label: Gitlab
113 - type: string
114 name: linkedin
115 label: Linkedin
116 - type: string
117 name: mastodon
118 label: Mastodon
119 - type: string
120 name: slack
121 label: Slack
122 - type: string
123 name: background_color_class
124 label: background_color_class
125 - type: number
126 name: recent_posts_number
127 label: recent_posts_number
128 home:
129 type: page
130 label: Home
131 file: _index.md
132 hideContent: false
133 singleInstance: true
134 layout: index.html
135 fields:
136 - type: string
137 name: title
138 label: Title
139 description: The title of the page.
140 required: true
141 - type: image
142 name: featured_image
143 label: Featured Image
144 description: Image displayed at in the pages intro section
145 - type: string
146 name: description
147 label: Description
148 - type: string
149 name: layout
150 label: layout
151 basicpage:
152 type: page
153 label: Basic Page
154 match: "*.md"
155 exclude: _index.md
156 layout: page/single.html
157 fields:
158 - type: string
159 name: title
160 label: Title
161 description: The title of the page.
162 - type: string
163 name: type
164 label: type
165 default: page
166 - type: boolean
167 name: omit_header_text
168 label: omit_header_text
169 description: The title of the page.
170 - type: image
171 name: featured_image
172 label: Featured Image
173 description: Image displayed at in the pages intro section
174 - type: string
175 name: description
176 label: Description
177 - type: enum
178 name: menu
179 label: Menu
180 options:
181 - label: Main Menu
182 value: main
183 type: object
184 section:
185 type: page
186 label: Section
187 match: "*/_index.md"
188 layout: _default/list.html
189 fields:
190 - type: string
191 name: title
192 label: Title
193 description: The title of the page.
194 - type: image
195 name: featured_image
196 label: Featured Image
197 description: Image displayed at in the pages intro section
198 - type: string
199 name: description
200 label: Description
201 - type: date
202 name: date
203 label: Date
204 - type: enum
205 name: menu
206 label: menu
207 default: main
208 options:
209 - label: main
210 value: main
211 post:
212 type: page
213 label: Posts
214 folder: post
215 exclude: _index.md
216 layout: _default/single.html
217 fields:
218 - type: string
219 name: title
220 label: Title
221 - type: date
222 name: date
223 label: Date
224 - type: image
225 name: featured_image
226 label: Featured Image
227 description: Image displayed at in the pages intro section
228 - type: string
229 name: description
230 label: Description
231 - type: enum
232 name: tags
233 label: tags
234 - type: boolean
235 name: draft
236 label: Draft