ajout de la configuration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
61ea2bb973
commit
751468de8e
1 changed files with 87 additions and 0 deletions
|
@ -11,15 +11,102 @@ site_url: https://quentin.dufour.io
|
||||||
display_url: https://quentin.dufour.io
|
display_url: https://quentin.dufour.io
|
||||||
locale: 'fr'
|
locale: 'fr'
|
||||||
collections:
|
collections:
|
||||||
|
- name: 'configuration'
|
||||||
|
label: 'Configuration'
|
||||||
|
description: 'Configuration générale du site web'
|
||||||
|
files:
|
||||||
|
- name: 'jekyll'
|
||||||
|
label: 'Jekyll'
|
||||||
|
file: '_config.yml'
|
||||||
|
fields:
|
||||||
|
- name: name
|
||||||
|
label: 'Nom du site web'
|
||||||
|
widget: string
|
||||||
|
- name: author
|
||||||
|
label: 'Auteur du site'
|
||||||
|
widget: string
|
||||||
|
- name: url
|
||||||
|
label: 'URL racine'
|
||||||
|
widget: string
|
||||||
|
- name: description
|
||||||
|
label: 'Description du site'
|
||||||
|
widget: string
|
||||||
|
- name: 'markdown'
|
||||||
|
label: 'Moteur de markdown'
|
||||||
|
widget: string
|
||||||
|
- name: 'highlighter'
|
||||||
|
label: 'Coloration syntaxique'
|
||||||
|
widget: string
|
||||||
|
- name: 'permalink'
|
||||||
|
label: 'Format des permaliens'
|
||||||
|
widget: string
|
||||||
|
- name: defaults
|
||||||
|
label: 'Gabarits par défaut'
|
||||||
|
widget: list
|
||||||
|
fields:
|
||||||
|
- name: scope
|
||||||
|
label: 'Portée'
|
||||||
|
widget: object
|
||||||
|
fields:
|
||||||
|
- name: 'path'
|
||||||
|
label: 'Chemin'
|
||||||
|
widget: string
|
||||||
|
- name: 'type'
|
||||||
|
label: 'Type de contenu'
|
||||||
|
widget: 'select'
|
||||||
|
options: [ 'pages', 'posts' ]
|
||||||
|
default: 'posts'
|
||||||
|
- name: values
|
||||||
|
label: 'Valeurs'
|
||||||
|
widget: 'object'
|
||||||
|
fields:
|
||||||
|
- name: 'layout'
|
||||||
|
label: 'Nom du gabarit'
|
||||||
|
widget: 'select'
|
||||||
|
options: [ 'default', 'post' ]
|
||||||
|
default: 'default'
|
||||||
|
- name: 'plugins'
|
||||||
|
label: 'Extensions'
|
||||||
|
widget: 'list'
|
||||||
|
fields:
|
||||||
|
- name: 'plugin_name'
|
||||||
|
label: 'Plugin'
|
||||||
|
widget: 'string'
|
||||||
|
|
||||||
- name: 'article'
|
- name: 'article'
|
||||||
label: 'Article'
|
label: 'Article'
|
||||||
|
description: "Articles de blog"
|
||||||
folder: '_posts/'
|
folder: '_posts/'
|
||||||
editor:
|
editor:
|
||||||
preview: false
|
preview: false
|
||||||
create: true
|
create: true
|
||||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||||
|
view_filters:
|
||||||
|
- label: "Publié"
|
||||||
|
field: status
|
||||||
|
pattern: 'published'
|
||||||
|
- label: "Brouillon"
|
||||||
|
field: status
|
||||||
|
pattern: 'draft'
|
||||||
fields:
|
fields:
|
||||||
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
|
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
|
||||||
- { label: 'Title', name: 'title', widget: 'string' }
|
- { label: 'Title', name: 'title', widget: 'string' }
|
||||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||||
|
- label: 'Status'
|
||||||
|
name: 'status'
|
||||||
|
widget: 'select'
|
||||||
|
options: [ 'draft', 'published' ]
|
||||||
|
default: 'draft'
|
||||||
|
- label: 'Sitemap'
|
||||||
|
name: 'sitemap'
|
||||||
|
widget: 'boolean'
|
||||||
|
default: true
|
||||||
|
- label: 'Category'
|
||||||
|
name: 'category'
|
||||||
|
widget: 'select'
|
||||||
|
default: 'divers'
|
||||||
|
options: [ 'operation', 'developpement', 'divers', 'securite' ]
|
||||||
|
- label: 'Description'
|
||||||
|
name: 'description'
|
||||||
|
widget: 'string'
|
||||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||||
|
|
Loading…
Reference in a new issue