From 473f3d1565edb3d18ca73dcb4d9b731095e1234f Mon Sep 17 00:00:00 2001 From: Robert Austin Date: Thu, 21 Jan 2021 23:15:06 +1000 Subject: [PATCH] Update stackbit.yaml to latest version #483 (#494) * update stackbit.yaml * Update stackbit.yaml * update stackbit.yaml --- stackbit.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/stackbit.yaml b/stackbit.yaml index d7cfbd7..78d9baf 100644 --- a/stackbit.yaml +++ b/stackbit.yaml @@ -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