Update from Forestry.io - Updated Forestry configuration

This commit is contained in:
uetchy 2019-10-23 19:07:33 +00:00 committed by Forestry.io
parent 094c3108db
commit 493a2e9c49
2 changed files with 29 additions and 27 deletions

View File

@ -1,17 +1,18 @@
---
label: Blog post label: Blog post
hide_body: false hide_body: false
fields: fields:
- type: text - type: text
name: title name: title
label: title label: title
config: config:
required: false required: false
- type: datetime - type: datetime
name: date name: date
label: date label: date
default: now default: now
config: config:
required: true required: true
- type: text - type: text
name: redirect_from name: redirect_from
label: redirect_from label: redirect_from

View File

@ -1,28 +1,29 @@
---
new_page_extension: md new_page_extension: md
auto_deploy: false auto_deploy: false
admin_path: "" admin_path: ''
webhook_url: webhook_url:
sections: sections:
- type: jekyll-posts - type: jekyll-posts
label: Posts label: Posts
create: all create: all
- type: directory - type: directory
path: _pages path: _pages
label: Pages label: Pages
create: all create: documents
match: "**/*"
upload_dir: _uploads upload_dir: _uploads
public_path: "/uploads" public_path: "/uploads"
front_matter_path: "" front_matter_path: ''
use_front_matter_path: false use_front_matter_path: false
file_template: ":filename:" file_template: ":filename:"
build: build:
preview_env: preview_env:
- JEKYLL_ENV=staging - JEKYLL_ENV=staging
preview_output_directory: _site preview_output_directory: _site
install_dependencies_command: bundle install --path vendor/bundle install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2.6 preview_docker_image: forestryio/ruby:2.6
mount_path: "/srv" mount_path: "/srv"
working_dir: "/srv" working_dir: "/srv"
instant_preview_command: instant_preview_command: bundle exec jekyll serve --drafts --unpublished --future
bundle exec jekyll serve --drafts --unpublished --future
--port 8080 --host 0.0.0.0 -d _site --port 8080 --host 0.0.0.0 -d _site