From b2774d9cf343fa703a8aa0050e7c787b2947dfd1 Mon Sep 17 00:00:00 2001 From: Bud Parr Date: Sun, 27 Oct 2019 16:45:55 -0400 Subject: [PATCH] Fix stackbit issues (#226) As per Simon, in Slack. Fixes #224 --- stackbit.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stackbit.yaml b/stackbit.yaml index c29be0b..7b25b04 100644 --- a/stackbit.yaml +++ b/stackbit.yaml @@ -2,7 +2,7 @@ stackbitVersion: ~0.2.39 ssgName: custom publishDir: exampleSite/public buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd .. -uploadDir: exampleSite/static/uploads +uploadDir: uploads staticDir: exampleSite/static pagesDir: exampleSite/content dataDir: exampleSite @@ -64,7 +64,8 @@ models: - type: string name: changefreq label: changefreq - - type: integer + - type: number + subtype: float name: priority label: priority - type: string @@ -173,7 +174,7 @@ models: options: - label: Main Menu value: main - type: object + type: object section: type: page label: Section