Update from Forestry.io - Updated Forestry configuration

This commit is contained in:
prayashkrsaha 2021-08-13 15:54:51 +00:00 committed by Forestry.io
parent f07d5dc515
commit e65f321340

View File

@ -0,0 +1,41 @@
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: directory
path: exampleSite/content/categories
label: Categories
create: all
match: "**/*"
- type: directory
path: exampleSite/content/page
label: Page
create: all
match: "**/*"
- type: directory
path: exampleSite/content/post
label: Post
create: all
match: "**/*"
- type: directory
path: exampleSite/content
label: Pages
create: all
match: "*"
upload_dir: exampleSite/static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=0.81.0
preview_output_directory: public
preview_docker_image: forestryio/hugo:latest
mount_path: "/srv"
working_dir: "/srv"
instant_preview_command: hugo server -D -E -F --renderToDisk -d public
version: 0.81.0