forked from Deuxfleurs/guide.deuxfleurs.fr
fix infra + wip config
This commit is contained in:
parent
1aac795ba7
commit
8ddc3807a5
2 changed files with 171 additions and 20 deletions
|
@ -1,8 +1,10 @@
|
||||||
+++
|
---
|
||||||
title = "Infrastructures"
|
title: "Infrastructures"
|
||||||
description = "Infrastructures"
|
description: "Infrastructures"
|
||||||
weight = 90
|
weight: 90
|
||||||
+++
|
extra:
|
||||||
|
parent: 'infrastructures/_index.md'
|
||||||
|
---
|
||||||
|
|
||||||
Ce manuel documente la dimension matérielle du numérique chez Deuxfleurs. On y recense les ordinateurs, le lieu où ils sont, les connexions réseaux nécessaires, l'énergie consommée, l'impact de fabrication, de fin de vie, etc.
|
Ce manuel documente la dimension matérielle du numérique chez Deuxfleurs. On y recense les ordinateurs, le lieu où ils sont, les connexions réseaux nécessaires, l'énergie consommée, l'impact de fabrication, de fin de vie, etc.
|
||||||
|
|
||||||
|
|
|
@ -6,18 +6,18 @@ backend:
|
||||||
branch: cms
|
branch: cms
|
||||||
|
|
||||||
media_folder: 'static/img/'
|
media_folder: 'static/img/'
|
||||||
site_url: http://guide.web.vimaire.machine.dufour.io
|
site_url: https://guide.deuxfleurs.fr
|
||||||
display_url: http://guide.web.vimaire.machine.dufour.io
|
display_url: guide.deuxfleurs.fr
|
||||||
locale: 'fr'
|
locale: 'fr'
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: 'accueil'
|
- name: 'special'
|
||||||
label: 'Accueil'
|
label: 'Accueil'
|
||||||
editor:
|
editor:
|
||||||
preview: false
|
preview: false
|
||||||
files:
|
files:
|
||||||
- name: accueil2
|
- name: accueil
|
||||||
label: Accueil2
|
label: Accueil
|
||||||
file: 'content/_index.md'
|
file: 'content/_index.md'
|
||||||
fields:
|
fields:
|
||||||
- label: Title
|
- label: Title
|
||||||
|
@ -33,17 +33,40 @@ collections:
|
||||||
|
|
||||||
- name: 'prise_en_main'
|
- name: 'prise_en_main'
|
||||||
label: 'Prise en main'
|
label: 'Prise en main'
|
||||||
|
description: "Les tutoriels pour se lancer"
|
||||||
folder: 'content/prise_en_main'
|
folder: 'content/prise_en_main'
|
||||||
editor:
|
editor:
|
||||||
preview: false
|
preview: false
|
||||||
create: true
|
create: true
|
||||||
|
view_filters:
|
||||||
|
- label: 'Brouillons'
|
||||||
|
field: draft
|
||||||
|
pattern: true
|
||||||
|
view_groups:
|
||||||
|
- label: 'Section'
|
||||||
|
field: 'extra.parent'
|
||||||
|
pattern: '.*'
|
||||||
fields:
|
fields:
|
||||||
- label: Titre
|
- label: Titre menu
|
||||||
name: title
|
name: title
|
||||||
widget: string
|
widget: string
|
||||||
|
- label: Titre page (description)
|
||||||
|
name: description
|
||||||
|
widget: string
|
||||||
- label: Poids
|
- label: Poids
|
||||||
name: weight
|
name: weight
|
||||||
|
default: 50
|
||||||
widget: number
|
widget: number
|
||||||
|
- label: Brouillon (ne pas publier encore)
|
||||||
|
name: draft
|
||||||
|
widget: boolean
|
||||||
|
default: false
|
||||||
|
- label: Date
|
||||||
|
name: date
|
||||||
|
widget: datetime
|
||||||
|
date_format: 'dd/MM/yyyy' # e.g. 24/12/2022
|
||||||
|
time_format: false
|
||||||
|
format: 'yyyy-MM-dd' # e.g. 2022-12-24
|
||||||
- label: Extra
|
- label: Extra
|
||||||
name: extra
|
name: extra
|
||||||
widget: object
|
widget: object
|
||||||
|
@ -54,29 +77,155 @@ collections:
|
||||||
collection: 'prise_en_main'
|
collection: 'prise_en_main'
|
||||||
value_field: 'prise_en_main/{{filename}}.{{extension}}'
|
value_field: 'prise_en_main/{{filename}}.{{extension}}'
|
||||||
search_fields: [ 'title', 'filename', 'slug' ]
|
search_fields: [ 'title', 'filename', 'slug' ]
|
||||||
|
default: 'prise_en_main/_index.md'
|
||||||
display_fields: ['{{title}} ({{filename}})', 'filename']
|
display_fields: ['{{title}} ({{filename}})', 'filename']
|
||||||
- label: Corps
|
- label: Corps
|
||||||
name: body
|
name: body
|
||||||
widget: text
|
widget: markdown
|
||||||
|
|
||||||
- name: 'formations'
|
- name: 'formations'
|
||||||
label: 'Se former'
|
label: 'Se former'
|
||||||
|
description: 'Des ressources pour apprendre en profondeur'
|
||||||
folder: 'content/formations'
|
folder: 'content/formations'
|
||||||
editor:
|
editor:
|
||||||
preview: false
|
preview: false
|
||||||
create: true
|
create: true
|
||||||
#summary: '{{title}} ({{dirname}})'
|
view_filters:
|
||||||
#nested:
|
- label: 'Brouillons'
|
||||||
# depth: 3
|
field: draft
|
||||||
# summary: '{{title}}'
|
pattern: true
|
||||||
|
view_groups:
|
||||||
|
- label: 'Section'
|
||||||
|
field: 'extra.parent'
|
||||||
|
pattern: '.*'
|
||||||
fields:
|
fields:
|
||||||
- label: Title
|
- label: Titre
|
||||||
name: title
|
name: title
|
||||||
widget: string
|
widget: string
|
||||||
- label: Weight
|
- label: Poids
|
||||||
|
default: 50
|
||||||
name: weight
|
name: weight
|
||||||
widget: number
|
widget: number
|
||||||
- label: Body
|
- label: Brouillon (ne pas publier encore)
|
||||||
|
name: draft
|
||||||
|
widget: boolean
|
||||||
|
default: false
|
||||||
|
- label: Date
|
||||||
|
name: date
|
||||||
|
widget: datetime
|
||||||
|
date_format: 'dd/MM/yyyy' # e.g. 24/12/2022
|
||||||
|
time_format: false
|
||||||
|
format: 'yyyy-MM-dd' # e.g. 2022-12-24
|
||||||
|
- label: Extra
|
||||||
|
name: extra
|
||||||
|
widget: object
|
||||||
|
fields:
|
||||||
|
- name: parent
|
||||||
|
label: Parent
|
||||||
|
widget: relation
|
||||||
|
collection: 'formations'
|
||||||
|
value_field: 'formations/{{filename}}.{{extension}}'
|
||||||
|
search_fields: [ 'title', 'filename', 'slug' ]
|
||||||
|
default: 'formations/_index.md'
|
||||||
|
display_fields: ['{{title}} ({{filename}})', 'filename']
|
||||||
|
- label: Corps
|
||||||
|
name: body
|
||||||
|
widget: markdown
|
||||||
|
|
||||||
|
- name: 'vie_associative'
|
||||||
|
label: 'Vie associative'
|
||||||
|
description: "Tout ce qui a rapport à l'organisation et l'administration de l'asso"
|
||||||
|
folder: 'content/vie_associative'
|
||||||
|
editor:
|
||||||
|
preview: false
|
||||||
|
create: true
|
||||||
|
view_filters:
|
||||||
|
- label: 'Brouillons'
|
||||||
|
field: draft
|
||||||
|
pattern: true
|
||||||
|
view_groups:
|
||||||
|
- label: 'Section'
|
||||||
|
field: 'extra.parent'
|
||||||
|
pattern: '.*'
|
||||||
|
fields:
|
||||||
|
- label: Titre
|
||||||
|
name: title
|
||||||
|
widget: string
|
||||||
|
- label: Poids
|
||||||
|
default: 50
|
||||||
|
name: weight
|
||||||
|
widget: number
|
||||||
|
- label: Brouillon (ne pas publier encore)
|
||||||
|
name: draft
|
||||||
|
widget: boolean
|
||||||
|
default: false
|
||||||
|
- label: Date
|
||||||
|
name: date
|
||||||
|
widget: datetime
|
||||||
|
date_format: 'dd/MM/yyyy' # e.g. 24/12/2022
|
||||||
|
time_format: false
|
||||||
|
format: 'yyyy-MM-dd' # e.g. 2022-12-24
|
||||||
|
- label: Extra
|
||||||
|
name: extra
|
||||||
|
widget: object
|
||||||
|
fields:
|
||||||
|
- name: parent
|
||||||
|
label: Parent
|
||||||
|
widget: relation
|
||||||
|
collection: 'vie_associative'
|
||||||
|
value_field: 'vie_associative/{{filename}}.{{extension}}'
|
||||||
|
search_fields: [ 'title', 'filename', 'slug' ]
|
||||||
|
default: 'vie_associative/_index.md'
|
||||||
|
display_fields: ['{{title}} ({{filename}})', 'filename']
|
||||||
|
- label: Corps
|
||||||
|
name: body
|
||||||
|
widget: markdown
|
||||||
|
|
||||||
|
- name: 'infrastructures'
|
||||||
|
label: 'Infrastructures'
|
||||||
|
description: "Des informations d'intéret générale sur la technique"
|
||||||
|
folder: 'content/infrastructures'
|
||||||
|
editor:
|
||||||
|
preview: false
|
||||||
|
create: true
|
||||||
|
view_filters:
|
||||||
|
- label: 'Brouillons'
|
||||||
|
field: draft
|
||||||
|
pattern: true
|
||||||
|
view_groups:
|
||||||
|
- label: 'Section'
|
||||||
|
field: 'extra.parent'
|
||||||
|
pattern: '.*'
|
||||||
|
fields:
|
||||||
|
- label: Titre
|
||||||
|
name: title
|
||||||
|
widget: string
|
||||||
|
- label: Poids
|
||||||
|
default: 50
|
||||||
|
name: weight
|
||||||
|
widget: number
|
||||||
|
- label: Brouillon (ne pas publier encore)
|
||||||
|
name: draft
|
||||||
|
widget: boolean
|
||||||
|
default: false
|
||||||
|
- label: Date
|
||||||
|
name: date
|
||||||
|
widget: datetime
|
||||||
|
date_format: 'dd/MM/yyyy' # e.g. 24/12/2022
|
||||||
|
time_format: false
|
||||||
|
format: 'yyyy-MM-dd' # e.g. 2022-12-24
|
||||||
|
- label: Extra
|
||||||
|
name: extra
|
||||||
|
widget: object
|
||||||
|
fields:
|
||||||
|
- name: parent
|
||||||
|
label: Parent
|
||||||
|
widget: relation
|
||||||
|
collection: 'infrastructures'
|
||||||
|
value_field: 'infrastructures/{{filename}}.{{extension}}'
|
||||||
|
search_fields: [ 'title', 'filename', 'slug' ]
|
||||||
|
default: 'infrastructures/_index.md'
|
||||||
|
display_fields: ['{{title}} ({{filename}})', 'filename']
|
||||||
|
- label: Corps
|
||||||
name: body
|
name: body
|
||||||
widget: markdown
|
widget: markdown
|
||||||
#meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
|
|
||||||
|
|
Loading…
Reference in a new issue