1
0
Fork 0

update stackbit.yaml

This commit is contained in:
Robert Austin 2021-03-09 12:04:14 +10:00
parent 7b2ec44ad4
commit bdd76be34f
5 changed files with 199 additions and 84 deletions

View File

@ -16,7 +16,7 @@ footer:
seo: seo:
meta_og_title: "Jekyll Serif Theme" meta_og_title: "Jekyll Serif Theme"
meta_og_type: "website" meta_og_type: "website"
meta_og_url: "https://jekyll-serif-theme.netlify.app" meta_og_url: "https://jekyll-serif.netlify.app"
meta_og_image: "https://raw.githubusercontent.com/zerostaticthemes/jekyll-serif-theme/master/screenshots/tn.png" meta_og_image: "https://raw.githubusercontent.com/zerostaticthemes/jekyll-serif-theme/master/screenshots/tn.png"
meta_og_description: "Jekyll Serif is a modern business theme for Hugo. It contains content types for the archetypical business website. The theme is fully responsive, blazing fast and artfully illustrated." meta_og_description: "Jekyll Serif is a modern business theme for Hugo. It contains content types for the archetypical business website. The theme is fully responsive, blazing fast and artfully illustrated."
meta_twitter_card: "summary" meta_twitter_card: "summary"

View File

@ -23,21 +23,21 @@ bodyClass: page-team-list
{% assign promoted_teams = site.team | where: "promoted", true | sort: "weight" %} {% assign promoted_teams = site.team | where: "promoted", true | sort: "weight" %}
{% for team in promoted_teams %} {% for team in promoted_teams %}
<div class="col-12 col-md-6 mb-2"> <div class="col-12 col-md-6 mb-2">
<div class="team team-summary team-summary-large"><a href="{{ site.baseurl }}{{ team.url }}"> <div class="team team-summary team-summary-large">
{% if team.image %} {% if team.image %}
<div class="team-image"> <div class="team-image">
<img alt="{{ team.title }}" class="img-fluid mb-2" src="{{ team.image | relative_url }}" /> <img alt="{{ team.title }}" class="img-fluid mb-2" src="{{ team.image | relative_url }}" />
</div> </div>
{% endif %} {% endif %}
<div class="team-meta"> <div class="team-meta">
<h2 class="team-name">{{ team.title }}</h2> <h2 class="team-name"><a href="{{ site.baseurl }}{{ team.url }}">{{ team.title }}</a></h2>
<p class="team-description">{{ team.jobtitle }}</p> <p class="team-description">{{ team.jobtitle }}</p>
{% if team.linkedinurl %} {% if team.linkedinurl %}
<a target="_blank" href="{{ team.linkedinurl }}">LinkedIn</a> <a target="_blank" href="{{ team.linkedinurl }}">LinkedIn</a>
{% endif %} {% endif %}
</div> </div>
<div class="team-content">{{ team.content | truncate: 120 }}</div> <div class="team-content">{{ team.content | truncate: 120 }}</div>
</div></a> </div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
@ -45,17 +45,17 @@ bodyClass: page-team-list
{% assign teams = site.team | where: "promoted", empty | sort: "weight" %} {% assign teams = site.team | where: "promoted", empty | sort: "weight" %}
{% for team in teams %} {% for team in teams %}
<div class="col-12 col-md-4 mb-3"> <div class="col-12 col-md-4 mb-3">
<div class="team team-summary"><a href="{{ site.baseurl }}{{ team.url }}"> <div class="team team-summary">
{% if team.image %} {% if team.image %}
<div class="team-image"> <div class="team-image">
<img alt="{{ team.title }}" class="img-fluid mb-2" src="{{ team.image | relative_url }}" /> <img alt="{{ team.title }}" class="img-fluid mb-2" src="{{ team.image | relative_url }}" />
</div> </div>
{% endif %} {% endif %}
<div class="team-meta"> <div class="team-meta">
<h2 class="team-name">{{ team.title }}</h2> <h2 class="team-name"><a href="{{ site.baseurl }}{{ team.url }}">{{ team.title }}</a></h2>
<p class="team-description">{{ team.jobtitle }}</p> <p class="team-description">{{ team.jobtitle }}</p>
</div> </div>
</div></a> </div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>

View File

@ -4,6 +4,7 @@ date: 2018-12-20T13:44:30+10:00
draft: false draft: false
image: 'images/team/joseph-gonzalez-399972-unsplash.jpg' image: 'images/team/joseph-gonzalez-399972-unsplash.jpg'
jobtitle: 'Art Director' jobtitle: 'Art Director'
linkedinurl: ""
weight: 3 weight: 3
layout: team layout: team
--- ---

View File

@ -4,6 +4,7 @@ date: 2018-12-20T13:44:23+10:00
draft: false draft: false
image: 'images/team/vince-fleming-613817-unsplash.jpg' image: 'images/team/vince-fleming-613817-unsplash.jpg'
jobtitle: 'Developer' jobtitle: 'Developer'
linkedinurl: "https://www.linkedin.com/"
weight: 3 weight: 3
layout: team layout: team
--- ---

View File

@ -1,14 +1,17 @@
stackbitVersion: ~0.3.0 stackbitVersion: ~0.3.0
ssgName: jekyll ssgName: jekyll
ssgVersion: '3.8.4' 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: layout pageLayoutKey: null
logicFields:
- site_menu_item.weight
- service.weight
- team.weight
models: models:
config: config:
type: config type: config
@ -133,115 +136,150 @@ models:
label: Exclude label: Exclude
description: Exclude directories and/or files from the conversion. description: Exclude directories and/or files from the conversion.
hidden: true hidden: true
site_menus:
type: object
label: Site Menus
description: >-
Site menus model, defines list of menus that can be specified from within
site configuration
fields:
- type: list
name: main
label: Main menu
description: List of items for Main menu
items:
type: model
models:
- site_menu_item
- type: list
name: footer
label: Footer menu
description: List of items for Footer menu
items:
type: model
models:
- site_menu_item
site_menu_item:
type: object
label: Site Menu Item
labelField: name
description: 'Site menu item model, defines fields for a single site menu item'
fields:
- type: string
name: identifier
label: Identifier
description: >-
The identifier of a menu item could be used as a parent menu of
another menu item
- type: string
name: name
label: Title
description: The title of the menu item
required: true
- type: string
name: url
label: URL
description: The URL the menu item links to
required: true
- type: number
name: weight
label: Weight
description: Position for sorting
- type: string
name: parent
label: Parent Menu Identifier
description: The parent of an entry should be the identifier of another entry.
home: home:
type: page type: page
label: Home label: Home
layout: home file: index.md
hideContent: false
singleInstance: true
fields: fields:
- type: string - type: string
name: title name: title
label: Title
required: true required: true
- type: string - type: string
name: description name: description
- type: image
name: intro_image
description: Image displayed at in the pages intro section
- type: boolean
name: intro_image_absolute
description: Should the image overflow or be contained
- type: boolean
name: intro_image_hide_on_mobile
description: Hide the intro image on mobile screen sizes
page:
type: page
label: Page
layout: page
fields:
- type: string
name: title
- type: date
name: date
- type: string
name: bodyClass
contact:
type: page
label: Contact
layout: contact
fields:
- type: string
name: title
- type: date
name: date
- type: string
name: bodyClass
service:
type: page
label: Service
layout: service
fields:
- type: string
name: title
- type: date
name: date
- type: boolean
name: featured
- type: number
name: weight
services:
type: page
label: Services
layout: services
fields:
- type: string
name: title
required: true
- type: image - type: image
name: intro_image name: intro_image
label: Intro Image label: Intro Image
description: Image displayed at in the pages intro section description: Image displayed at in the pages intro section
- type: boolean - type: boolean
name: intro_image_absolute name: intro_image_absolute
label: Intro Image Position label: Overflow intro image
description: Should the image overflow or be contained description: Should the image overflow or be contained
- type: boolean - type: boolean
name: intro_image_hide_on_mobile name: intro_image_hide_on_mobile
label: Hide 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
team: - type: enum
name: layout
options:
- label: home
value: home
basicpage:
type: page type: page
label: Team label: Basic Page
folder: team match: '*.md'
exclude: _index.md exclude: index.md
layout: team fields:
- type: string
name: title
label: Title
description: The title of the page.
- type: date
name: date
label: Date
- type: enum
name: layout
options:
- label: page
value: page
- label: contact
value: contact
- type: enum
name: menu
label: Menu
options:
- label: Main Menu
value: main
- label: Footer Menu
value: footer
- type: string
name: bodyClass
service:
type: page
label: Service
folder: _services
fields: fields:
- type: string - type: string
name: title name: title
- type: date - type: date
name: date name: date
- type: image
name: image
- type: string
name: jobtitle
- type: string
name: linkedinurl
- type: boolean - type: boolean
name: draft name: draft
- type: boolean - type: boolean
name: featured name: featured
- type: number - type: number
name: weight name: weight
- type: boolean - type: enum
name: promoted name: layout
teams: options:
- label: service
value: service
services:
type: page type: page
label: Teams label: Services Overview
layout: teams file: services.md
singleInstance: true
fields: fields:
- type: string - type: string
name: title name: title
label: Title
description: The title of the page.
required: true required: true
- type: string
name: permalink
- type: image - type: image
name: intro_image name: intro_image
label: Intro Image label: Intro Image
@ -252,5 +290,80 @@ models:
description: Should the image overflow or be contained description: Should the image overflow or be contained
- type: boolean - type: boolean
name: intro_image_hide_on_mobile name: intro_image_hide_on_mobile
label: Hide Intro Image On Mobile? label: Intro Image Hide On Mobile
description: Hide the intro image on mobile screen sizes description: Hide the intro image on mobile screen sizes
- type: enum
name: layout
options:
- label: services
value: services
team:
type: page
label: Team
folder: _team
fields:
- type: string
name: title
label: Title
- type: date
name: date
label: Date
- type: image
name: image
label: Image
- type: string
name: jobtitle
label: Job Title
- type: string
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
name: weight
label: Weight
- type: boolean
name: promoted
label: Promoted
- type: enum
name: layout
options:
- label: team
value: team
teams:
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