réglage de tout les champs texte en writer avec ou sans marks et node

This commit is contained in:
antonin gallon 2026-01-14 15:34:31 +01:00
parent ae85772faa
commit b039131102
10 changed files with 20 additions and 101 deletions

View file

@ -26,8 +26,12 @@ tabs:
fields:
intro:
label: Introduction
type: textarea
size: small
type: writer
nodes:
- heading
headings:
- 1
buttons: false
help: "Résumé ou accroche de l'article"
# Contenu
@ -73,8 +77,11 @@ tabs:
cover:
label: Image de couverture
type: files
layout: cards
max: 1
accept: image/*
image:
ratio: 16/9
uploads:
template: image
@ -88,16 +95,3 @@ tabs:
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