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"
|
||||
description = "Infrastructures"
|
||||
weight = 90
|
||||
+++
|
||||
---
|
||||
title: "Infrastructures"
|
||||
description: "Infrastructures"
|
||||
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.
|
||||
|
||||
|
|
|
@ -6,18 +6,18 @@ backend:
|
|||
branch: cms
|
||||
|
||||
media_folder: 'static/img/'
|
||||
site_url: http://guide.web.vimaire.machine.dufour.io
|
||||
display_url: http://guide.web.vimaire.machine.dufour.io
|
||||
site_url: https://guide.deuxfleurs.fr
|
||||
display_url: guide.deuxfleurs.fr
|
||||
locale: 'fr'
|
||||
|
||||
collections:
|
||||
- name: 'accueil'
|
||||
- name: 'special'
|
||||
label: 'Accueil'
|
||||
editor:
|
||||
preview: false
|
||||
files:
|
||||
- name: accueil2
|
||||
label: Accueil2
|
||||
- name: accueil
|
||||
label: Accueil
|
||||
file: 'content/_index.md'
|
||||
fields:
|
||||
- label: Title
|
||||
|
@ -33,17 +33,40 @@ collections:
|
|||
|
||||
- name: 'prise_en_main'
|
||||
label: 'Prise en main'
|
||||
description: "Les tutoriels pour se lancer"
|
||||
folder: 'content/prise_en_main'
|
||||
editor:
|
||||
preview: false
|
||||
create: true
|
||||
view_filters:
|
||||
- label: 'Brouillons'
|
||||
field: draft
|
||||
pattern: true
|
||||
view_groups:
|
||||
- label: 'Section'
|
||||
field: 'extra.parent'
|
||||
pattern: '.*'
|
||||
fields:
|
||||
- label: Titre
|
||||
- label: Titre menu
|
||||
name: title
|
||||
widget: string
|
||||
- label: Titre page (description)
|
||||
name: description
|
||||
widget: string
|
||||
- label: Poids
|
||||
name: weight
|
||||
default: 50
|
||||
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
|
||||
|
@ -54,29 +77,155 @@ collections:
|
|||
collection: 'prise_en_main'
|
||||
value_field: 'prise_en_main/{{filename}}.{{extension}}'
|
||||
search_fields: [ 'title', 'filename', 'slug' ]
|
||||
default: 'prise_en_main/_index.md'
|
||||
display_fields: ['{{title}} ({{filename}})', 'filename']
|
||||
- label: Corps
|
||||
name: body
|
||||
widget: text
|
||||
widget: markdown
|
||||
|
||||
- name: 'formations'
|
||||
label: 'Se former'
|
||||
description: 'Des ressources pour apprendre en profondeur'
|
||||
folder: 'content/formations'
|
||||
editor:
|
||||
preview: false
|
||||
create: true
|
||||
#summary: '{{title}} ({{dirname}})'
|
||||
#nested:
|
||||
# depth: 3
|
||||
# summary: '{{title}}'
|
||||
view_filters:
|
||||
- label: 'Brouillons'
|
||||
field: draft
|
||||
pattern: true
|
||||
view_groups:
|
||||
- label: 'Section'
|
||||
field: 'extra.parent'
|
||||
pattern: '.*'
|
||||
fields:
|
||||
- label: Title
|
||||
- label: Titre
|
||||
name: title
|
||||
widget: string
|
||||
- label: Weight
|
||||
- label: Poids
|
||||
default: 50
|
||||
name: weight
|
||||
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
|
||||
widget: markdown
|
||||
#meta: { path: { widget: string, label: 'Path', index_file: '_index' } }
|
||||
|
|
Loading…
Reference in a new issue