Skip to content

Commit

Permalink
re-init
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalkr committed Dec 20, 2018
0 parents commit 10e12d8
Show file tree
Hide file tree
Showing 53 changed files with 19,731 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .forestry/front_matter/templates/block__3col.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
label: block__3col
hide_body: false
is_partial: true
display_field: title
fields:
- type: text
name: component
label: component
hidden: true
default: 3col
- type: text
name: title
label: Title
- type: field_group
name: col1
label: Column 1
fields:
- type: include
name: col1
label: col1
template: column
- type: field_group
name: col2
label: Column 2
fields:
- type: include
name: col2
label: col2
template: column
- type: field_group
name: col3
label: Column 3
fields:
- type: include
name: col3
label: col3
template: column
38 changes: 38 additions & 0 deletions .forestry/front_matter/templates/block__cta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
label: block__cta
hide_body: false
is_partial: true
display_field: title
fields:
- type: text
name: component
label: component
default: cta
- type: text
name: title
label: Title
- type: text
name: subtitle
label: Subtitle
- type: select
name: background
config:
source:
type: simple
options:
- transparent
- primary
- dark
- light
label: Background
default: transparent
- type: field_group
name: button
label: Button
fields:
- type: text
name: url
label: URL
- type: text
name: text
label: Text
46 changes: 46 additions & 0 deletions .forestry/front_matter/templates/block__feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
label: block__feature
hide_body: false
is_partial: true
display_field: title
fields:
- type: text
name: component
label: component
hidden: true
default: feature
- type: text
name: title
label: Title
- type: textarea
name: content
label: Content
config:
wysiwyg: true
schema:
format: html
- type: file
name: image
label: Image
- type: select
name: background
config:
source:
type: simple
options:
- transparent
- primary
- dark
- light
label: Background
default: primary
- type: select
name: orientation
config:
source:
type: simple
options:
- normal
- reverse
label: Orientation
default: normal
29 changes: 29 additions & 0 deletions .forestry/front_matter/templates/block__hero.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
label: block__hero
hide_body: false
is_partial: true
display_field: title
fields:
- type: text
name: component
label: component
hidden: true
default: hero
- type: text
name: title
label: Title
- type: text
name: subtitle
label: Subtitle
- type: select
name: background
config:
source:
type: simple
options:
- transparent
- primary
- light
- dark
label: Background
default: transparent
23 changes: 23 additions & 0 deletions .forestry/front_matter/templates/blocks-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
label: Blocks Page
hide_body: true
is_partial: false
fields:
- type: text
name: title
label: Title
- type: text
hidden: true
label: Template
name: template
default: blocks
- type: blocks
name: blocks
label: Blocks
template_types:
- block__hero
- block__feature
- block__3col
- block__cta
pages:
- src/pages/index.md
19 changes: 19 additions & 0 deletions .forestry/front_matter/templates/column.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
label: column
hide_body: false
is_partial: true
display_field: title
fields:
- type: file
name: image
label: Image
- type: text
name: title
label: Title
- type: textarea
name: content
label: Content
config:
wysiwyg: true
schema:
format: html
33 changes: 33 additions & 0 deletions .forestry/front_matter/templates/main-menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
label: Main Menu
hide_body: false
is_partial: false
fields:
- name: main_menu
label: Main menu
type: field_group_list
fields:
- name: url
label: Url
type: text
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
- type: select
name: type
config:
source:
type: simple
options:
- internal
- external
label: Type
default: internal
hidden: false
default: ''
config:
labelField: title
8 changes: 8 additions & 0 deletions .forestry/front_matter/templates/page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
label: Page
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
11 changes: 11 additions & 0 deletions .forestry/front_matter/templates/post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
label: Post
hide_body: false
is_partial: false
fields:
- type: text
name: title
label: Title
- type: datetime
name: date
label: Date
36 changes: 36 additions & 0 deletions .forestry/front_matter/templates/site-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
label: Site Config
hide_body:
is_partial:
fields:
- name: pathPrefix
label: Pathprefix
type: text
hidden: false
default: ''
- name: title
label: Title
type: text
hidden: false
default: ''
- name: description
label: Description
type: textarea
hidden: false
default: ''
- name: copyright
label: Copyright
type: field_group
fields:
- name: name
label: Name
type: text
hidden: false
default: ''
- name: url
label: Url
type: text
hidden: false
default: ''
hidden: false
default: ''
41 changes: 41 additions & 0 deletions .forestry/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: directory
path: src/pages
label: Pages
create: documents
match: "*.md"
new_doc_ext: md
templates:
- page
- blocks-page
- type: directory
path: src/pages/posts
label: Posts
create: documents
match: "**/*"
new_doc_ext: md
templates:
- post
- type: document
path: src/data/main_menu.json
label: Nav Menu
- type: document
path: site-config.json
label: Site Config
upload_dir: src/images
public_path: "/src/images"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
custom_preview: true
build:
preview_command: npm run forestry:preview
publish_command: npm run forestry:publish
preview_env:
- GATSBY_WEBPACK_PUBLICPATH=/
output_directory: public
Loading

0 comments on commit 10e12d8

Please sign in to comment.