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: ''