-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstackbit.yaml
81 lines (81 loc) · 2.42 KB
/
stackbit.yaml
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
stackbitVersion: 0.4.0
ssgName: gatsby
ssgVersion: 2.3.30
nodeVersion: 14.5.0
buildCommand: npm run build
publishDir: public
staticDir: static
uploadDir: images
dataDir: src/data
pagesDir: src/pages
pageLayoutKey: template
logicFields:
- doc_sections.root_docs_path
- doc_sections.sections
- docs.weight
models:
config:
type: config
label: Site Configuration
fields:
- type: string
name: title
label: Title
description: Site title
required: true
- type: string
name: domain
label: Domain
description: >-
The domain of your site, including the protocol, e.g.
https://mysite.com/
- type: image
name: favicon
label: Favicon
description: A square icon that represents your website
- type: enum
name: palette
label: Color Palette
description: The color palette of the site
options:
- blue
- green
- navy
- violet
default: blue
required: true
- type: model
name: header
label: Header Configuration
models:
- header
- type: model
name: footer
label: Footer Configuration
models:
- footer
header:
type: object
label: Header Configuration
labelField: title
fields:
- type: string
name: title
label: Header Title
description: The title displayed in the header if no logo image added
- type: image
name: logo_img
label: Logo
description: The logo image displayed in the header
- type: string
name: logo_img_alt
label: Logo Alt Text
description: The alt text of the logo image
- type: string
name: url
label: Header Title (Logo) URL
description: >-
The URL of the header title (logo). Useful if you want the header
title (logo) link to another URL, rather than the home page.
- type: boolean
name: relativeUrl