diff --git a/.forestry/front_matter/templates/page.yml b/.forestry/front_matter/templates/page.yml new file mode 100644 index 0000000..0da0071 --- /dev/null +++ b/.forestry/front_matter/templates/page.yml @@ -0,0 +1,16 @@ +--- +label: Page +hide_body: false +fields: +- type: text + name: title + label: title +- type: text + name: description + label: description +- type: text + name: featured_image + label: featured_image +- type: boolean + name: omit_header_text + label: omit_header_text diff --git a/.forestry/front_matter/templates/post.yml b/.forestry/front_matter/templates/post.yml new file mode 100644 index 0000000..a7015b5 --- /dev/null +++ b/.forestry/front_matter/templates/post.yml @@ -0,0 +1,22 @@ +--- +label: Post +hide_body: false +fields: +- type: datetime + name: date + label: date +- type: text + name: description + label: description +- type: file + name: featured_image + label: featured_image +- type: list + name: tags + label: tags +- type: text + name: title + label: title +- type: boolean + name: disable_share + label: disable_share diff --git a/.forestry/settings.yml b/.forestry/settings.yml index fcf7e44..92b57bf 100644 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -4,9 +4,6 @@ auto_deploy: false admin_path: webhook_url: sections: -- type: document - path: config.toml - label: Config - type: directory path: exampleSite/content/en label: Pages @@ -17,6 +14,9 @@ sections: label: Posts create: all match: "**/*" +- type: document + path: config.toml + label: Config upload_dir: exampleSite/static/images public_path: "/images" front_matter_path: '' diff --git a/config.yaml b/config.yaml index 2670a38..608958b 100644 --- a/config.yaml +++ b/config.yaml @@ -1,3 +1,4 @@ +--- module: hugoVersion: - min: "0.64.0" \ No newline at end of file + min: 0.64.0