-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstackbit.yaml
29 lines (29 loc) · 1.62 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
stackbitVersion: ~0.3.0
ssgName: custom
buildCommand: yarn build # build command that builds static site
staticDir: site/static # folder with files that are copied to publishDir as is
uploadDir: site/static/img # folder with media files, relative to staticDir
pagesDir: content # folder with markdown page files
publishDir: dist # folder with the generated static site files
dataDir: site # folder with data files (yaml, json, toml)
excludePages:
- README.md
models:
# The schema of the theme or a site
# see Models documentation for more info
pages: # a model called "post"
type: page
label: Pages
match: '*.md'
exclude: _index.md
folder: site/content
fields:
- { label: "Title", name: "title", type: "string", required: true }
- { label: "Metadata Keywords", name: "meta_keywords", type: "string", required: true, default: "Mental Awareness, CMHAA, Keyword, Keyword." }
- { label: "Metadata Description", name: "meta_description", type: "string", required: true, default: "This is a detailed description of the page." }
- { label: "Banner Title", name: "banner_title", type: "string", required: false }
- { label: "Banner Description", name: "banner_description", type: "string", required: false }
- { label: "Banner Background Image", name: "banner_image", type: "image", required: false }
- { label: "Banner Right Image", name: "banner_right_image", type: "image", required: false }
- { label: "Banner CTA Link", name: "banner_cta_link", type: "string", required: false }
- { label: "Banner CTA Text", name: "banner_cta_text", type: "string", required: false }