1
0
Fork 0

update stackbit.yaml

This commit is contained in:
Robert Austin 2021-07-12 13:58:38 +10:00
parent 7d6662356d
commit 6c61d49e03
1 changed files with 163 additions and 99 deletions

View File

@ -2,14 +2,13 @@ stackbitVersion: ~0.3.0
ssgName: jekyll ssgName: jekyll
ssgVersion: "4.1" ssgVersion: "4.1"
buildCommand: bundle exec jekyll build buildCommand: bundle exec jekyll build
publishDir: '_site' publishDir: "_site"
staticDir: 'assets' staticDir: "assets"
uploadDir: 'images' uploadDir: "images"
dataDir: '_data' dataDir: "_data"
pagesDir: '' pagesDir: ""
pageLayoutKey: null pageLayoutKey: null
logicFields: logicFields:
- site_menu_item.weight
- service.weight - service.weight
- team.weight - team.weight
models: models:
@ -28,8 +27,8 @@ models:
hidden: true hidden: true
home: home:
type: page type: page
label: Home label: Homepage
file: ['index.md', 'services.md', 'team.md'] file: index.md
singleInstance: true singleInstance: true
fields: fields:
- type: string - type: string
@ -49,29 +48,75 @@ models:
name: intro_image_hide_on_mobile name: intro_image_hide_on_mobile
label: Hide the intro image on mobile label: Hide the intro image on mobile
description: Hide the intro image on mobile screen sizes description: Hide the intro image on mobile screen sizes
- type: date - type: boolean
name: show_call_box
label: Show Call Box
description: Show contact info on homepage?
- type: datetime
name: date name: date
label: Date
- type: string - type: string
name: bodyClass name: bodyClass
- type: enum - type: string
name: layout name: layout
options: default: "home"
- label: home hidden: true
value: home services:
- label: services type: page
value: services label: Services
- label: teams file: services.md
value: teams singleInstance: true
fields:
- type: string
name: title
label: Title
- type: string
name: layout
label: Layout
- type: string
name: collection
label: Collection
- type: image
name: intro_image
label: Intro Image
- type: boolean
name: intro_image_absolute
label: Intro Image Absolute
- type: boolean
name: intro_image_hide_on_mobile
label: Intro Image Hide On Mobile
teams:
type: page
label: Teams
file: team.md
singleInstance: true
fields:
- type: string
name: title
label: Title
- type: string
name: layout
label: Layout
- type: string
name: permalink
label: Permalink
- type: boolean
name: intro_image_absolute
label: Intro Image Absolute
- type: boolean
name: intro_image_hide_on_mobile
label: Intro Image Hide On Mobile
basicpage: basicpage:
type: page type: page
label: Basic Page label: Basic Page
match: '*.md' match: "*.md"
exclude: index.md exclude: index.md
fields: fields:
- type: string - type: string
name: title name: title
- type: date - type: datetime
name: date name: date
label: Date
- type: string - type: string
name: bodyClass name: bodyClass
- type: enum - type: enum
@ -85,49 +130,26 @@ models:
type: page type: page
label: Service label: Service
folder: _services folder: _services
match: "*"
fields: fields:
- type: string - type: string
name: title name: title
- type: date label: Title
- type: datetime
name: date name: date
- type: boolean label: Date
name: draft
- type: boolean - type: boolean
name: featured name: featured
label: Featured
- type: number - type: number
name: weight name: weight
label: Weight
subtype: int
- type: enum - type: enum
name: layout name: layout
options: options:
- label: service - label: service
value: service value: service
type: page
label: Services Overview
file: services.md
singleInstance: true
fields:
- type: string
name: title
label: Title
description: The title of the page.
required: true
- type: image
name: intro_image
label: Intro Image
description: Image displayed at in the pages intro section
- type: boolean
name: intro_image_absolute
label: Intro Image Position
description: Should the image overflow or be contained
- type: boolean
name: intro_image_hide_on_mobile
label: Intro Image Hide On Mobile
description: Hide the intro image on mobile screen sizes
- type: enum
name: layout
options:
- label: services
value: services
team: team:
type: page type: page
label: Team label: Team
@ -136,88 +158,130 @@ models:
- type: string - type: string
name: title name: title
label: Title label: Title
- type: date - type: datetime
name: date name: date
label: Date label: Date
- type: boolean
name: draft
label: Draft
- type: image - type: image
name: image name: image
label: Image label: Image
- type: string - type: string
name: jobtitle name: jobtitle
label: Job Title
- type: string - type: string
name: linkedinurl name: linkedinurl
label: Linkedin URL
- type: string
name: Twitterhandle
label: Twitter handle
- type: boolean
name: draft
label: Draft
- type: boolean
name: featured
label: Featured
- type: number - type: number
name: weight name: weight
label: Weight label: Weight
subtype: int
- type: string
name: layout
label: Layout
hidden: true
default: team
- type: boolean - type: boolean
name: promoted name: promoted
label: Promoted label: Promoted
- type: enum
name: layout
options:
- label: team
value: team
type: page
label: Team Overview
file: team.md
singleInstance: true
fields:
- type: string
name: title
label: Title
description: The title of the page.
required: true
- type: image
name: intro_image
label: Intro Image
description: Image displayed at in the pages intro section
- type: boolean
name: intro_image_absolute
label: Intro Image Position
description: Should the image overflow or be contained
- type: boolean
name: intro_image_hide_on_mobile
label: Intro Image Hide On Mobile
description: Hide the intro image on mobile screen sizes
- type: string
name: permalink
- type: enum
name: layout
options:
- label: teams
value: teams
contact: contact:
type: data type: data
label: Contact Details label: Contact
file: contact.yml file: contact.yml
fields: fields:
- type: string - type: string
name: email name: email
label: Email
- type: string - type: string
name: phone name: phone
label: Phone
- type: string - type: string
name: contact_button_link name: contact_button_link
label: Contact Button Link
features:
type: data
label: Features
file: features.json
isList: true
items:
type: object
fields:
- type: string
name: title
label: Title
- type: string
name: description
label: Description
- type: image
name: image
label: Image
menus:
type: data
label: Menus
file: menus.yml
fields:
- type: list
name: main
label: Main
items:
type: object
fields:
- type: string
name: name
label: Name
- type: string
name: url
label: Url
- type: number
name: weight
label: Weight
subtype: int
- type: list
name: footer
label: Footer
items:
type: object
fields:
- type: string
name: name
label: Name
- type: string
name: url
label: Url
- type: number
name: weight
label: Weight
subtype: int
seo: seo:
type: data type: data
label: SEO label: Seo
file: seo.yml file: seo.yml
fields: fields:
- type: string - type: string
name: google_analytics_id name: google_analytics_id
label: Google Analytics Id
- type: string - type: string
name: meta_twitter_site name: meta_twitter_site
label: Meta Twitter Site
- type: string - type: string
name: meta_twitter_creator name: meta_twitter_creator
- type: string label: Meta Twitter Creator
- type: markdown
name: copyright_text name: copyright_text
label: Copyright Text
social:
type: data
label: Social
file: social.json
isList: true
items:
type: object
fields:
- type: string
name: name
label: Name
- type: string
name: link
label: Link
- type: image
name: image
label: Image