diff --git a/.forestry/front_matter/templates/about.yml b/.forestry/front_matter/templates/about.yml new file mode 100644 index 0000000..5309817 --- /dev/null +++ b/.forestry/front_matter/templates/about.yml @@ -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 diff --git a/.forestry/front_matter/templates/contact.yml b/.forestry/front_matter/templates/contact.yml new file mode 100644 index 0000000..9aa8f74 --- /dev/null +++ b/.forestry/front_matter/templates/contact.yml @@ -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 diff --git a/.forestry/front_matter/templates/home.yml b/.forestry/front_matter/templates/home.yml new file mode 100644 index 0000000..cda6d4d --- /dev/null +++ b/.forestry/front_matter/templates/home.yml @@ -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 diff --git a/.forestry/front_matter/templates/people.yml b/.forestry/front_matter/templates/people.yml new file mode 100644 index 0000000..3b2d425 --- /dev/null +++ b/.forestry/front_matter/templates/people.yml @@ -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 diff --git a/.forestry/front_matter/templates/person.yml b/.forestry/front_matter/templates/person.yml index 2fd13da..af5b839 100755 --- a/.forestry/front_matter/templates/person.yml +++ b/.forestry/front_matter/templates/person.yml @@ -18,7 +18,7 @@ fields: type: list hidden: text default: staff - description: + description: - name: email label: Email type: text diff --git a/.forestry/front_matter/templates/posts.yml b/.forestry/front_matter/templates/posts.yml new file mode 100644 index 0000000..574988b --- /dev/null +++ b/.forestry/front_matter/templates/posts.yml @@ -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 diff --git a/.forestry/front_matter/templates/projects.yml b/.forestry/front_matter/templates/projects.yml new file mode 100644 index 0000000..8c5246a --- /dev/null +++ b/.forestry/front_matter/templates/projects.yml @@ -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: '' diff --git a/.forestry/front_matter/templates/publications.yml b/.forestry/front_matter/templates/publications.yml new file mode 100644 index 0000000..939e478 --- /dev/null +++ b/.forestry/front_matter/templates/publications.yml @@ -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 diff --git a/.forestry/settings.yml b/.forestry/settings.yml index 717f234..3cf7a1d 100755 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -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: diff --git a/404.md b/404.md index 138205e..5509743 100644 --- a/404.md +++ b/404.md @@ -8,4 +8,4 @@ hero_button: href: "/" permalink: "/404.html" layout: default ---- \ No newline at end of file +--- diff --git a/_data/publications.yml b/_data/publications.yml index d07db73..764c75f 100644 --- a/_data/publications.yml +++ b/_data/publications.yml @@ -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 @@ -17,4 +19,5 @@ PDF: "/uploads/2017/11/16/modern-engineering.pdf" author: _people/murphy-tiernan.md layout: default - project: _projects/modern-engineering.md \ No newline at end of file + project: + - _projects/modern-engineering.md diff --git a/_posts/2017-09-25-introduction.md b/_posts/2017-09-25-introduction.md index 5d2f581..e463b7a 100644 --- a/_posts/2017-09-25-introduction.md +++ b/_posts/2017-09-25-introduction.md @@ -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! diff --git a/about.md b/about.md index f416f3f..bba8921 100644 --- a/about.md +++ b/about.md @@ -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 diff --git a/publications.md b/publications.md index c40b176..05cb407 100644 --- a/publications.md +++ b/publications.md @@ -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