Skip to content

Commit

Permalink
Website forestry overhaul (#24)
Browse files Browse the repository at this point in the history
A new site!
  • Loading branch information
wtgee authored Dec 22, 2018
1 parent 8b0235e commit 17eb6f9
Show file tree
Hide file tree
Showing 481 changed files with 5,791 additions and 15,700 deletions.
26 changes: 26 additions & 0 deletions .forestry/front_matter/templates/default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
label: default
hide_body: true
is_partial: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: textarea
name: description
label: Description
description: A short description of the page
config:
required: true
- type: datetime
name: publish_date
label: Publish Date
config:
required: true
- type: text
name: layout
label: layout
hidden: true
default: post
52 changes: 52 additions & 0 deletions .forestry/front_matter/templates/information-yml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
label: Contact Information
hide_body: true
is_partial: false
fields:
- name: email
label: Email
type: text
hidden: false
default: ''
- name: phone
label: Phone
type: text
hidden: false
default: ''
- name: address_1
label: Address 1
type: text
hidden: false
default: ''
- name: address_2
label: Address 2
type: text
hidden: false
default: ''
- name: city
label: City
type: text
hidden: false
default: ''
- name: state
label: State
type: text
hidden: false
default: ''
- name: postal_code
label: Postal code
type: text
hidden: false
default: ''
- name: country
label: Country
type: text
hidden: false
default: ''
- name: twitter
label: Twitter
type: text
hidden: false
default: ''
pages:
- _data/information.yml
16 changes: 16 additions & 0 deletions .forestry/front_matter/templates/instruction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
label: instruction
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
config:
required: true
- type: text
name: sub_heading
label: Sub Heading
- type: file
name: banner_image
label: Banner Image
142 changes: 142 additions & 0 deletions .forestry/front_matter/templates/landing-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
---
label: landing-page
hide_body: false
is_partial: false
fields:
- name: title
label: Title
type: text
hidden: false
default: ''
config:
required: true
- type: text
label: Hero Heading
name: heading
default: Project PANOPTES
- type: text
name: sub_heading
label: Hero Sub heading
default: Discover New Worlds
- type: boolean
name: slick_carousel
label: Slick Carousel
description: If landing page should show a slick carousel.
- type: field_group_list
name: slick_images
label: Slick Images
description: The images to use in the slick carousel.
config:
min: '0'
fields:
- type: file
name: image
label: Image
- type: text
name: caption
label: Caption
description: Caption to use for the image.
- type: file
name: banner_image
label: Hero Image
description: 'Dimensions: 1200px by 580px'
config:
maxSize: '2'
- type: field_group
name: hero_button
label: Hero Button
fields:
- type: text
name: text
label: Text
- type: text
name: href
label: Link
- type: boolean
name: show_site_name
label: Show Site Name?
description: If the site name should be shown above description.
- type: textarea
name: textline
label: Description
config:
wysiwyg: true
required: false
schema:
format: markdown
- type: field_group
name: feature_button
label: Feature Button
description: This goes under the main textline in a Hero element.
fields:
- type: text
name: text
label: Label
description: Label for feature button.
- type: text
name: href
label: URL
description: Link for the feature button.
- 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: ''
- type: field_group
name: thumbnail
label: Thumbnail
fields:
- type: file
label: Image
name: image
description: Thumbnail to show above service.
- type: boolean
name: border
label: Border
description: If thumbnail should include a border.
description: Thumbnail for service.
- type: field_group
label: Link
name: link
description: A button link for more information.
fields:
- type: text
name: label
label: Label
description: Label for the button.
config:
required: true
- type: text
name: href
label: Link
description: Where the button goes.
hidden: false
default: ''
- type: boolean
name: show_news
label: Show News?
description: Enables a news section with a twitter feed & latest posts
- type: boolean
name: show_discourse
label: Show Discourse?
description: If we should show the latest discourse posts.
- type: image_gallery
name: partners
label: Partner Logos
- name: layout
label: Layout
type: text
hidden: true
default: home
pages:
- teams.md
- index.md
39 changes: 39 additions & 0 deletions .forestry/front_matter/templates/person.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
label: person
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Name
- name: sub_heading
label: Sub Heading
type: text
hidden: false
default: ''
- type: file
label: Thumbnail
name: thumbnail
description: 'Square image, Max 500 pixels '
- type: tag_list
label: Roles
name: roles
description: What roles the person has within PANOPTES
- name: email
label: Email
type: text
hidden: false
default: ''
- name: personal_url
label: Webpage
type: text
hidden: false
default: ''
description: If the member has a url they would like linked.
- name: layout
label: Layout
type: text
hidden: true
default: person
pages:
- _people/olivier-guyon.md
49 changes: 49 additions & 0 deletions .forestry/front_matter/templates/post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
label: post
hide_body: false
is_partial: false
fields:
- name: title
label: Title
type: text
hidden: false
default: ''
- type: text
label: Sub Heading
name: sub_heading
default: ''
- name: date
label: Publish Date
type: datetime
hidden: false
default: ''
- name: tags
label: Tags
type: tag_list
hidden: false
default: ''
- type: file
name: banner_image
label: Banner Image
description: Ideal dimensions 2500px by 1200px
- 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
pages:
- _posts/2018-12-16-we-re-hiring-postdoc-needed.md
- _posts/2018-09-16-hawaiicon-2018.md
- _posts/2018-08-25-pan012-party.md
- _posts/2018-10-02-panoptes-on-stardate.md
- _posts/2018-12-16-panoptes-aa233.md
- _posts/2018-08-01-new-forum-launched.md
- _posts/2018-04-05-scale-conference-16x.md
33 changes: 33 additions & 0 deletions .forestry/front_matter/templates/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
label: project
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
- name: sub_heading
label: Sub Heading
type: text
hidden: false
default: ''
- name: banner_image
label: Banner Image
type: file
description: Dimensions work best at 1200 pixels by 400 pixels
hidden: false
default: ''
- name: tags
label: Tags
type: tag_list
hidden: false
default: []
- name: slug
label: Slug
type: text
hidden: false
default: ''
pages:
- _articles/what-is-panoptes.md
- _articles/hardware-description.md
- _articles/software-description.md
Loading

0 comments on commit 17eb6f9

Please sign in to comment.