added: forestry support
This commit is contained in:
25
exampleSite/.forestry/front_matter/templates/blog-post.yml
Normal file
25
exampleSite/.forestry/front_matter/templates/blog-post.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
label: Blog Post
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: file
|
||||
name: feature_image
|
||||
label: feature_image
|
||||
- type: text
|
||||
name: author
|
||||
label: author
|
||||
pages:
|
||||
- content/blog/Design-inspiration:-the-best-projects-from-December.md
|
||||
- content/blog/Design-inspiration:-the-best-projects-from-November.md
|
||||
- content/blog/Pt-chooses-Classic-Blue-for-its-colour-of-the-year-2020.md
|
||||
- content/blog/The-10-biggest-rebrands-and-logo-designs-of-2019.md
|
||||
- content/blog/the-10-biggest-product-stories-of-2019.md
|
||||
15
exampleSite/.forestry/front_matter/templates/clients.yml
Normal file
15
exampleSite/.forestry/front_matter/templates/clients.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
label: Clients
|
||||
hide_body: true
|
||||
fields:
|
||||
- type: boolean
|
||||
name: enable
|
||||
label: enable
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: image_gallery
|
||||
name: client_logos
|
||||
label: client_logos
|
||||
pages:
|
||||
- data/clients.yml
|
||||
25
exampleSite/.forestry/front_matter/templates/portfolio.yml
Normal file
25
exampleSite/.forestry/front_matter/templates/portfolio.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
label: Portfolio
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
- type: text
|
||||
name: type
|
||||
label: type
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: list
|
||||
name: category
|
||||
label: category
|
||||
- type: image_gallery
|
||||
name: project_images
|
||||
label: project_images
|
||||
pages:
|
||||
- content/portfolio/seamless-watch.md
|
||||
- content/portfolio/use-less-brand.md
|
||||
34
exampleSite/.forestry/front_matter/templates/team.yml
Normal file
34
exampleSite/.forestry/front_matter/templates/team.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
label: Team
|
||||
hide_body: true
|
||||
fields:
|
||||
- type: boolean
|
||||
name: enable
|
||||
label: enable
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: field_group_list
|
||||
name: members
|
||||
label: members
|
||||
fields:
|
||||
- type: file
|
||||
name: image
|
||||
label: image
|
||||
- type: text
|
||||
name: name
|
||||
label: name
|
||||
- type: text
|
||||
name: designation
|
||||
label: designation
|
||||
- type: text
|
||||
name: medium
|
||||
label: medium
|
||||
- type: text
|
||||
name: linkedIn
|
||||
label: linkedIn
|
||||
- type: text
|
||||
name: instagram
|
||||
label: instagram
|
||||
pages:
|
||||
- data/team.yml
|
||||
31
exampleSite/.forestry/front_matter/templates/testimonial.yml
Normal file
31
exampleSite/.forestry/front_matter/templates/testimonial.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
label: Testimonial
|
||||
hide_body: true
|
||||
fields:
|
||||
- type: boolean
|
||||
name: enable
|
||||
label: enable
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: text
|
||||
name: subtitle
|
||||
label: subtitle
|
||||
- type: field_group_list
|
||||
name: testimonial_item
|
||||
label: testimonial_item
|
||||
fields:
|
||||
- type: file
|
||||
name: thumb
|
||||
label: thumb
|
||||
- type: text
|
||||
name: name
|
||||
label: name
|
||||
- type: text
|
||||
name: company_position
|
||||
label: company_position
|
||||
- type: textarea
|
||||
name: quote
|
||||
label: quote
|
||||
pages:
|
||||
- data/testimonial.yml
|
||||
62
exampleSite/.forestry/settings.yml
Normal file
62
exampleSite/.forestry/settings.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
---
|
||||
new_page_extension: md
|
||||
auto_deploy: false
|
||||
admin_path:
|
||||
webhook_url:
|
||||
sections:
|
||||
- type: document
|
||||
path: data/counter.yml
|
||||
label: Counter
|
||||
- type: document
|
||||
path: data/team.yml
|
||||
label: Team
|
||||
- type: document
|
||||
path: data/clients.yml
|
||||
label: Clients
|
||||
- type: document
|
||||
path: data/testimonial.yml
|
||||
label: Testimonials
|
||||
- type: document
|
||||
path: config.toml
|
||||
label: Configuration
|
||||
- type: directory
|
||||
path: content
|
||||
label: Pages
|
||||
create: all
|
||||
match: "*"
|
||||
- type: directory
|
||||
path: content/blog
|
||||
label: Blog
|
||||
create: all
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: content/contact
|
||||
label: Contact
|
||||
create: all
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: content/about
|
||||
label: About
|
||||
create: all
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: content/portfolio
|
||||
label: Portfolio
|
||||
create: all
|
||||
match: "**/*"
|
||||
upload_dir: static/images
|
||||
public_path: "/images"
|
||||
front_matter_path: ''
|
||||
use_front_matter_path: false
|
||||
file_template: ":filename:"
|
||||
build:
|
||||
preview_env:
|
||||
- HUGO_ENV=staging
|
||||
- HUGO_VERSION=0.63.2
|
||||
preview_output_directory: public
|
||||
preview_docker_image: forestryio/hugo:latest
|
||||
mount_path: "/srv"
|
||||
working_dir: "/srv"
|
||||
instant_preview_command: hugo server -D -E -F --port 8080 --bind 0.0.0.0 --renderToDisk
|
||||
-d public
|
||||
version: 0.63.2
|
||||
Reference in New Issue
Block a user