From e65f32134025c48a7ecbbc58853b381ff4c7e03c Mon Sep 17 00:00:00 2001 From: prayashkrsaha Date: Fri, 13 Aug 2021 15:54:51 +0000 Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration --- exampleSite/.forestry/settings.yml | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 exampleSite/.forestry/settings.yml diff --git a/exampleSite/.forestry/settings.yml b/exampleSite/.forestry/settings.yml new file mode 100644 index 0000000..54f7f15 --- /dev/null +++ b/exampleSite/.forestry/settings.yml @@ -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