From 32accb2e3ff1f87e87eb4c9704290347faccb4ec Mon Sep 17 00:00:00 2001 From: "quadmx08@gmail.com" Date: Thu, 25 Apr 2019 15:04:08 +0000 Subject: [PATCH] Update from Forestry.io - Updated Forestry configuration --- .forestry/front_matter/templates/new-blog.yml | 18 ++++++++++++++++++ .forestry/settings.yml | 8 +++++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .forestry/front_matter/templates/new-blog.yml diff --git a/.forestry/front_matter/templates/new-blog.yml b/.forestry/front_matter/templates/new-blog.yml new file mode 100644 index 0000000..931010a --- /dev/null +++ b/.forestry/front_matter/templates/new-blog.yml @@ -0,0 +1,18 @@ +--- +label: New Blog +hide_body: false +fields: +- type: text + name: title + label: Title + description: The Blog Post Title + config: + required: true + default: New Post +- type: text + name: date + label: Date + description: Example format 2015-05-01T22:12:03.284Z + config: + required: true + default: '2015-05-01T22:12:03.284Z' diff --git a/.forestry/settings.yml b/.forestry/settings.yml index 6f7e4ba..d3199bb 100644 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -3,7 +3,13 @@ new_page_extension: md auto_deploy: false admin_path: webhook_url: -sections: +sections: +- type: directory + path: src/pages + label: New Blog + create: documents + match: "**/*.md" + new_doc_ext: ".md" upload_dir: uploads public_path: "/uploads" front_matter_path: ''