From cc7f8f64a35a07c6d718e62def5d1c4475308682 Mon Sep 17 00:00:00 2001 From: budparr Date: Sun, 27 Oct 2019 13:55:23 -0400 Subject: [PATCH] Adjust fields from linter Ref #200 --- stackbit.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stackbit.yaml b/stackbit.yaml index a9d3abf..89e68d4 100644 --- a/stackbit.yaml +++ b/stackbit.yaml @@ -5,7 +5,7 @@ buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd uploadDir: images staticDir: exampleSite/static pagesDir: exampleSite/content -dataDir: exampleSite/data +dataDir: exampleSite models: config: type: data @@ -102,6 +102,7 @@ models: file: _index.md hideContent: false singleInstance: true + layout: index.html fields: - type: string name: title @@ -115,11 +116,15 @@ models: - type: string name: description label: Description + - type: string + name: layout + label: layout basicpage: type: page label: Basic Page match: "*.md" exclude: _index.md + layout: page/single.html fields: - type: string name: title @@ -145,6 +150,7 @@ models: label: Post folder: post exclude: _index.md + layout: _default/single.html fields: - type: string name: title