diff --git a/.forestry/front_matter/templates/blog-post.yml b/.forestry/front_matter/templates/blog-post.yml index cfd50b84..231c80da 100644 --- a/.forestry/front_matter/templates/blog-post.yml +++ b/.forestry/front_matter/templates/blog-post.yml @@ -31,6 +31,8 @@ fields: display; posts are not automatically published!' config: required: true + date_format: YYYY/MM/DD + export_format: YYYY-MM-DD - type: text name: permalink label: Permalink diff --git a/.forestry/front_matter/templates/newslinks.yml b/.forestry/front_matter/templates/newslinks.yml index dc8ff104..de21c3aa 100644 --- a/.forestry/front_matter/templates/newslinks.yml +++ b/.forestry/front_matter/templates/newslinks.yml @@ -31,6 +31,8 @@ fields: label: Date config: required: true + date_format: YYYY/MM/DD + export_format: YYYY-MM-DD description: Use the date of the event itself. - type: text name: path diff --git a/.forestry/settings.yml b/.forestry/settings.yml index f6f29561..a9b0ab85 100644 --- a/.forestry/settings.yml +++ b/.forestry/settings.yml @@ -76,4 +76,4 @@ build: preview_docker_image: forestryio/node:12 mount_path: "/srv" working_dir: "/srv" - instant_preview_command: npm run build + instant_preview_command: npm run dev