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

@ -43,19 +43,3 @@ tabs:
cover: true
text: "{{ file.member_name }}"
info: "{{ file.role }}"
# SEO
seo:
label: SEO
icon: search
sections:
meta:
type: fields
fields:
meta_title:
label: Meta Title
type: text
meta_description:
label: Meta Description
type: textarea
size: small
maxlength: 160

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

View file

@ -29,9 +29,4 @@ tabs:
template: article
info: "{{ page.date.toDate('d/m/Y') }}"
create: article
sortBy: date desc
# SEO
seo:
label: SEO
icon: search
sortBy: date desc

View file

@ -8,8 +8,7 @@ columns:
type: fields
fields:
text:
type: textarea
size: huge
type: writer
sidebar:
width: 1/3
sections:

View file

@ -13,7 +13,8 @@ tabs:
fields:
title:
label: Titre
type: text
type: writer
nodes: false
required: true
help: "Ex: PLAY THE REAL."
textes:
@ -23,19 +24,3 @@ tabs:
text_bloc:
label: bloc de texte
type: text
# SEO
seo:
label: SEO
icon: search
sections:
meta:
type: fields
fields:
meta_title:
label: Meta Title
type: text
meta_description:
label: Meta Description
type: textarea
size: small
maxlength: 160

View file

@ -22,8 +22,7 @@ columns:
fields:
description:
label: Description
type: textarea
size: medium
type: writer
# Sidebar
- width: 1/3

View file

@ -18,8 +18,9 @@ tabs:
required: true
subtitle:
label: Sous-titre
type: textarea
size: small
type: writer
marks: false
nodes: false
cta_text:
width: 1/2
label: Texte du bouton CTA
@ -46,19 +47,3 @@ tabs:
cover: true
uploads:
template: video
# SEO
seo:
label: SEO
icon: search
sections:
meta:
type: fields
fields:
meta_title:
label: Meta Title
type: text
meta_description:
label: Meta Description
type: textarea
size: small
maxlength: 160

View file

@ -16,8 +16,3 @@ tabs:
template: game
info: "{{ page.status_label }}"
create: game
# SEO
seo:
label: SEO
icon: search

View file

@ -17,20 +17,3 @@ tabs:
template: project
info: "{{ page.catchphrase }}"
create: project
# SEO
seo:
label: SEO
icon: search
sections:
meta:
type: fields
fields:
meta_title:
label: Meta Title
type: text
meta_description:
label: Meta Description
type: textarea
size: small
maxlength: 160

View file

@ -23,12 +23,12 @@ columns:
fields:
catchphrase:
label: Phrase d'accroche
type: text
type: writer
nodes: false
help: "Ex: Transformez votre lecture en aventure."
description:
label: Description
type: textarea
size: medium
type: writer
help: Description complète du projet
images: