Update stackbit.yaml to latest version #483 (#494)

* update stackbit.yaml

* Update stackbit.yaml

* update stackbit.yaml
This commit is contained in:
Robert Austin
2021-01-21 23:15:06 +10:00
committed by GitHub
parent dbe21a7fdf
commit 473f3d1565

View File

@@ -1,16 +1,11 @@
stackbitVersion: ~0.2.0
ssgName: custom
publishDir: demo/public
buildCommand: make prepare && hugo --source demo --baseURL "/"
stackbitVersion: ~0.3.0
ssgName: hugo
uploadDir: images
staticDir: exampleSite/static
pagesDir: exampleSite/content
dataDir: exampleSite
pageLayoutKey: null
models:
config:
type: data
label: Config
file: config.toml
type: config
label: Site Config
fields:
- type: string
name: title
@@ -147,10 +142,12 @@ models:
- type: object
name: languages
fields:
- type: language_config
- type: model
name: en
- type: language_config
models: [language_config]
- type: model
name: "pt-br"
models: [language_config]
- type: object
name: taxonomies
fields:
@@ -225,6 +222,10 @@ models:
name: featuredImage
label: Featured Image
description: Image featured in post display
- type: list
name: authors
items:
type: string
snippets:
type: page
label: Snippets