Selaa lähdekoodia

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

* update stackbit.yaml

* Update stackbit.yaml

* update stackbit.yaml
Robert Austin 5 vuotta sitten
vanhempi
commit
473f3d1565
1 muutettua tiedostoa jossa 13 lisäystä ja 12 poistoa
  1. 13 12
      stackbit.yaml

+ 13 - 12
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