avancement back
This commit is contained in:
parent
c1c4fda329
commit
724bcb4918
10 changed files with 255 additions and 347 deletions
|
|
@ -11,93 +11,93 @@ status:
|
|||
listed:
|
||||
label: Publié
|
||||
text: L'article est visible publiquement
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
icon: text
|
||||
columns:
|
||||
# Colonne principale
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
# En-tête
|
||||
header:
|
||||
type: fields
|
||||
fields:
|
||||
intro:
|
||||
label: Introduction
|
||||
type: textarea
|
||||
size: small
|
||||
help: "Résumé ou accroche de l'article"
|
||||
|
||||
columns:
|
||||
# Colonne principale
|
||||
main:
|
||||
width: 2/3
|
||||
sections:
|
||||
# En-tête
|
||||
header:
|
||||
type: fields
|
||||
fields:
|
||||
title:
|
||||
label: Titre de l'article
|
||||
type: text
|
||||
required: true
|
||||
intro:
|
||||
label: Introduction / Chapeau
|
||||
type: textarea
|
||||
size: small
|
||||
help: "Résumé ou accroche de l'article"
|
||||
# Contenu
|
||||
content:
|
||||
type: fields
|
||||
fields:
|
||||
article_content:
|
||||
label: Contenu de l'article
|
||||
type: blocks
|
||||
fieldsets:
|
||||
heading:
|
||||
label: Titre
|
||||
type: heading
|
||||
text:
|
||||
label: Texte
|
||||
type: text
|
||||
quote:
|
||||
label: Citation
|
||||
type: quote
|
||||
image:
|
||||
label: Image
|
||||
type: image
|
||||
list:
|
||||
label: Liste
|
||||
type: list
|
||||
video:
|
||||
label: Vidéo
|
||||
type: video
|
||||
|
||||
# Contenu
|
||||
content:
|
||||
type: fields
|
||||
fields:
|
||||
article_content:
|
||||
label: Contenu de l'article
|
||||
type: blocks
|
||||
fieldsets:
|
||||
heading:
|
||||
label: Titre
|
||||
type: heading
|
||||
text:
|
||||
label: Texte
|
||||
type: text
|
||||
quote:
|
||||
label: Citation
|
||||
type: quote
|
||||
image:
|
||||
label: Image
|
||||
type: image
|
||||
list:
|
||||
label: Liste
|
||||
type: list
|
||||
video:
|
||||
label: Vidéo
|
||||
type: video
|
||||
# Sidebar
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
# Métadonnées
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
label: Date de publication
|
||||
type: date
|
||||
required: true
|
||||
default: today
|
||||
cover:
|
||||
label: Image de couverture
|
||||
type: files
|
||||
max: 1
|
||||
accept: image/*
|
||||
uploads:
|
||||
template: image
|
||||
|
||||
# Sidebar
|
||||
sidebar:
|
||||
width: 1/3
|
||||
sections:
|
||||
# Métadonnées
|
||||
meta:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
label: Date de publication
|
||||
type: date
|
||||
required: true
|
||||
default: today
|
||||
cover:
|
||||
label: Image de couverture
|
||||
type: files
|
||||
max: 1
|
||||
uploads:
|
||||
template: image
|
||||
# Recommandations
|
||||
related:
|
||||
type: fields
|
||||
fields:
|
||||
related_articles:
|
||||
label: Articles recommandés
|
||||
type: pages
|
||||
query: site.find('blog').children.listed
|
||||
max: 3
|
||||
help: "Articles similaires à afficher en bas de page"
|
||||
|
||||
# Recommandations
|
||||
related:
|
||||
type: fields
|
||||
fields:
|
||||
related_articles:
|
||||
label: Articles recommandés
|
||||
type: pages
|
||||
query: site.find('blog').children.listed
|
||||
max: 3
|
||||
help: "Articles similaires à afficher en bas de page"
|
||||
|
||||
# SEO
|
||||
seo:
|
||||
type: fields
|
||||
fields:
|
||||
meta_title:
|
||||
label: Meta Title
|
||||
type: text
|
||||
meta_description:
|
||||
label: Meta Description
|
||||
type: textarea
|
||||
size: small
|
||||
maxlength: 160
|
||||
# SEO
|
||||
seo:
|
||||
type: fields
|
||||
fields:
|
||||
meta_title:
|
||||
label: Meta Title
|
||||
type: text
|
||||
meta_description:
|
||||
label: Meta Description
|
||||
type: textarea
|
||||
size: small
|
||||
maxlength: 160
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue