-
Notifications
You must be signed in to change notification settings - Fork 0
/
stackbit.yaml
175 lines (175 loc) · 4.35 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
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
stackbitVersion: ~0.3.0
ssgName: jekyll
pagesDir: ""
dataDir: _data
staticDir: ""
uploadDir: assets/img
pageLayoutKey: null
excludePages:
- _site/**/*
- .github/**/*
- assets/**/*
- index.md
- now.json
- README.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
models:
config:
type: config
label: Site Config
fields:
- type: string
name: title
- type: text
name: description
- type: image
name: image
- type: enum
name: mode
label: Theme mode
options:
- dark
- light
- type: model
name: author
models: [author]
- type: string
name: url
label: URL domain of the site
- type: number
name: number_of_posts
label: Homepage limit posts
- type: string
name: google_analytics
label: Google Analytics tracking code
author:
type: object
label: Site Author
fields:
- type: string
name: name
- type: text
name: bio
- type: string
name: username
label: General username
- type: string
name: github
label: Github username
- type: string
name: twitter
label: Twitter username
- type: string
name: facebook
label: Facebook username
- type: string
name: email
label: Email address
- type: image
name: avatar
menus:
type: data
label: Menus
file: menus.yml
isList: true
items:
type: model
models: [menu_item]
menu_item:
type: object
label: Menu item
fields:
- type: string
name: title
- type: string
name: url
- type: boolean
name: external
label: External
description: Set true to open in a new tab
page:
type: page
label: Page
urlPath: "{permalink}"
exclude: _posts/**/*
fields:
- type: string
name: title
- type: string
name: permalink
label: Slug
- type: text
name: excerpt
- type: boolean
name: comments
- type: string
name: layout
hidden: true
const: page
archive:
type: page
label: Archive
file: archive.md
singleInstance: true
fields:
- type: string
name: title
- type: string
name: permalink
label: Slug
hidden: true
- type: text
name: excerpt
- type: boolean
name: comments
- type: string
name: layout
hidden: true
const: page
not_found:
type: page
label: 404 Page
singleInstance: true
file: 404.md
hideContent: true
fields:
- type: string
name: title
- type: string
name: permalink
label: Slug
hidden: true
- type: string
name: layout
hidden: true
const: 404
post:
type: page
label: Post
folder: _posts
urlPath: "{slug}"
filePath: '_posts/{slug}/{moment_format("YYYY-MM-DD")}-{slug}.md'
fields:
- type: string
name: title
- type: text
name: description
- type: datetime
name: date
- type: datetime
name: modified
- type: list
name: tags
items:
type: string
- type: list
name: categories
items:
type: string
- type: image
name: image
- type: string
name: layout
hidden: true
const: post