Skip to content
Snippets Groups Projects
Commit fb383ae6 authored by Eloi Perdereau's avatar Eloi Perdereau
Browse files

Revert "try default fields for pages front-matter in netlifycms"

This reverts commit 19061f5a.
parent 787acd65
No related branches found
No related tags found
1 merge request!5Big fat update, mostly cms configuration
......@@ -9,12 +9,6 @@ slug:
encoding: "ascii"
clean_accents: true
default_fields: *default_fields
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", default: false}
- {label: "Body", name: "body", widget: "markdown"}
collections:
- name: 'data'
label: "Auteurs et Navigations"
......@@ -85,11 +79,19 @@ collections:
editor:
preview: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", default: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'ccl'
label: 'CCL'
folder: '_pages/ccl'
create: true
fields: &default_fields
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Bandeau ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'l-asso'
label: "CCL/l'asso"
folder: '_pages/ccl/l-asso'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment