Skip to content

Commit

Permalink
Update from Forestry.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Forestry.io committed Jan 19, 2018
1 parent 4dedfea commit 2a174ad
Show file tree
Hide file tree
Showing 14 changed files with 298 additions and 9 deletions.
46 changes: 46 additions & 0 deletions .forestry/front_matter/templates/about.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
hide_body: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: textarea
name: description
label: Description
config:
wysiwyg: true
required: true
- type: datetime
name: date
label: Publish Date
- type: text
label: Hero Heading
name: heading
config:
required: true
- type: text
name: sub_heading
label: Hero Sub Heading
- type: field_group
name: hero_button
label: Hero Button
fields:
- type: text
name: text
label: Text
- type: text
name: href
label: Link
- type: file
name: banner_image
label: Hero Image
description: 'Dimensions: 1200px by 580px'
config:
maxSize: '2'
- type: text
name: layout
label: Layout
hidden: true
default: about
29 changes: 29 additions & 0 deletions .forestry/front_matter/templates/contact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
hide_body: true
fields:
- type: text
name: title
label: Title
config:
required: true
- type: text
name: description
label: Description
config:
required: true
- type: datetime
name: publish_date
label: Publish Date
- type: textarea
name: map
label: Map
config:
wysiwyg: false
required: true
description: ''
hidden: true
- type: text
name: layout
label: Layout
default: contact
hidden: true
69 changes: 69 additions & 0 deletions .forestry/front_matter/templates/home.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
hide_body: true
fields:
- name: title
label: Title
type: text
hidden: false
default: ''
config:
required: true
- type: textarea
name: description
label: Description
config:
wysiwyg: true
required: true
- type: text
label: Hero Heading
name: heading
default: Belkirk College
- type: text
name: sub_heading
label: Hero Sub heading
default: Engineering and Health Sciences
- type: field_group
name: hero_button
label: Hero Button
fields:
- type: text
name: text
label: Text
- type: text
name: href
label: Link
- type: file
name: banner_image
label: Hero Image
description: 'Dimensions: 1200px by 580px'
config:
maxSize: '2'
- name: services
label: Services
type: field_group_list
fields:
- name: heading
label: Heading
type: text
hidden: false
default: ''
- name: description
label: Description
type: text
hidden: false
default: ''
- name: icon
label: Icon
type: file
hidden: false
default: ''
hidden: false
default: ''
- type: image_gallery
name: partners
label: Partner Logos
- name: layout
label: Layout
type: text
hidden: true
default: home
45 changes: 45 additions & 0 deletions .forestry/front_matter/templates/people.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
hide_body: false
fields:
- type: text
name: title
label: Name
- name: sub-title
label: Sub title
type: text
hidden: false
default: ''
- type: file
label: Thumbnail
name: thumbnail
description: 'Square image, Max 500 pixels '
- name: role
label: Departments
type: list
hidden: false
default: []
description: ''
config:
use_select: true
source:
type: simple
options:
- staff
- board
- advisor
- partner
- name: email
label: Email
type: text
hidden: false
default: ''
- name: linkedin
label: Linkedin
type: text
hidden: false
default: ''
- name: layout
label: Layout
type: text
hidden: true
default: person
2 changes: 1 addition & 1 deletion .forestry/front_matter/templates/person.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fields:
type: list
hidden: text
default: staff
description:
description:
- name: email
label: Email
type: text
Expand Down
34 changes: 34 additions & 0 deletions .forestry/front_matter/templates/posts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
hide_body: false
fields:
- name: title
label: Title
type: text
hidden: false
default: ''
- type: text
label: Sub Title
name: sub-title
- name: date
label: Publish Date
type: datetime
hidden: false
default: ''
- name: tags
label: Tags
type: tag_list
hidden: false
default: ''
- type: list
name: related_posts
label: Related Posts
config:
use_select: true
source:
type: pages
section: posts
- name: layout
label: Layout
type: text
hidden: true
default: post
27 changes: 27 additions & 0 deletions .forestry/front_matter/templates/projects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
hide_body: false
fields:
- type: text
name: title
label: Title
- name: sub-title
label: Sub title
type: text
hidden: false
default: ''
- name: thumbnail
label: Thumbnail
type: file
description: Dimensions work best at 800 pixels by 300 pixels
hidden: false
default: ''
- name: tags
label: Tags
type: tag_list
hidden: false
default: []
- name: slug
label: Slug
type: text
hidden: false
default: ''
39 changes: 39 additions & 0 deletions .forestry/front_matter/templates/publications.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
hide_body: true
fields:
- type: text
name: title
label: Title
- type: select
name: author
config:
source:
type: pages
section: people
label: Author
description: ''
- name: PDF
label: PDF
type: file
hidden: false
description: Provide a PDF of the Publication
- name: link
label: Link
type: text
hidden: false
default: ''
description: Used if PDF is not provided
- type: list
name: project
label: Project
description: 'This publication is associated with which project? '
config:
use_select: true
source:
type: pages
section: projects
- name: layout
label: Layout
type: text
hidden: true
default: text
2 changes: 0 additions & 2 deletions .forestry/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ auto_deploy: true
admin_path: ''
webhook_url:
collections:
_publications:
default_front_matter_template: publications
_projects:
default_front_matter_template: projects
_people:
Expand Down
2 changes: 1 addition & 1 deletion 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ hero_button:
href: "/"
permalink: "/404.html"
layout: default
---
---
7 changes: 5 additions & 2 deletions _data/publications.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
- title: 'Bioengineering: A Conceptual Approach'
date: 2017-09-30 14:43:51 +0000
PDF: ''
author: _people/kellie-brewer.md
layout: default
project: _projects/
project:
- _projects/
link: https://www.amazon.ca/Bioengineering-Conceptual-Approach-Mirjana-Pavlovic-ebook/dp/B00RZJ8DL2/
- title: Mechanical Engineering Handbook
date: 2017-09-30 14:43:51 +0000
Expand All @@ -17,4 +19,5 @@
PDF: "/uploads/2017/11/16/modern-engineering.pdf"
author: _people/murphy-tiernan.md
layout: default
project: _projects/modern-engineering.md
project:
- _projects/modern-engineering.md
2 changes: 1 addition & 1 deletion _posts/2017-09-25-introduction.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Welcome to the Forestry Demo Site!
date: 2017-09-25 09:09:13 +0000
related_posts:
related_posts:
sub-title: An introduction to Forestry
---
Welcome to the Belkirk College of Engineering Demo Site!
Expand Down
1 change: 0 additions & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ publish_date: 2017-12-01 04:00:00 +0000
show_staff: true
menu:
navigation:
name: About
identifier: _about
url: "/about/"
weight: 2
Expand Down
2 changes: 1 addition & 1 deletion publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Publications
layout: publications
description: Publications by Belkirk College
publish_date: 2017-11-01 00:00:00 -0300
publish_date: 2017-11-01 03:00:00 +0000
menu:
navigation:
identifier: _publications
Expand Down

0 comments on commit 2a174ad

Please sign in to comment.