From 473f3d1565edb3d18ca73dcb4d9b731095e1234f Mon Sep 17 00:00:00 2001
From: Robert Austin <rob@jugglerdigital.com>
Date: Thu, 21 Jan 2021 13:15:06 +0000
Subject: [PATCH] Update stackbit.yaml to latest version #483 (#494)
---
stackbit.yaml | 25 +++++++++++++------------
1 files 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 @@
- 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 @@
name: featuredImage
label: Featured Image
description: Image featured in post display
+ - type: list
+ name: authors
+ items:
+ type: string
snippets:
type: page
label: Snippets
--
Gitblit v1.10.0