aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'static/admin/config.yml')
-rw-r--r--static/admin/config.yml40
1 files changed, 30 insertions, 10 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 422684f..5f4cc4b 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -11,16 +11,36 @@ display_url: http://guide.web.vimaire.machine.dufour.io
locale: 'en'
collections:
+ - name: 'accueil'
+ label: 'Accueil'
+ editor:
+ preview: false
+ files:
+ - name: accueil2
+ label: Accueil2
+ file: 'content/_index.md'
+ fields:
+ - label: Title
+ name: title
+ widget: string
+ - label: Sort by
+ name: sort_by
+ widget: string
+ - label: Body
+ name: body
+ widget: markdown
+
+
- name: 'prise_en_main'
label: 'Prise en main'
folder: 'content/prise_en_main'
- summary: '{{title}} ({{dirname}})'
+ #summary: '{{title}} ({{dirname}})'
editor:
preview: false
create: true
- nested:
- depth: 3
- summary: '{{title}}'
+ #nested:
+ # depth: 3
+ # summary: '{{title}}'
fields:
- label: Title
name: title
@@ -31,7 +51,7 @@ collections:
- label: Body
name: body
widget: markdown
- meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
+ #meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
- name: 'formations'
label: 'Se former'
@@ -39,10 +59,10 @@ collections:
editor:
preview: false
create: true
- summary: '{{title}} ({{dirname}})'
- nested:
- depth: 3
- summary: '{{title}}'
+ #summary: '{{title}} ({{dirname}})'
+ #nested:
+ # depth: 3
+ # summary: '{{title}}'
fields:
- label: Title
name: title
@@ -53,4 +73,4 @@ collections:
- label: Body
name: body
widget: markdown
- meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
+ #meta: { path: { widget: string, label: 'Path', index_file: '_index' } }