add lab/projects
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s

This commit is contained in:
Julie Blanc 2026-02-25 18:51:58 +01:00
parent e36eae0b6f
commit c34384adab
12 changed files with 319 additions and 12 deletions

View file

@ -30,6 +30,9 @@ columns:
newsCategories:
label: Catégories des brèves
type: tags
projectCategories:
label: Catégories des projets
type: tags
robots:
type: hidden
default: noindex, nofollow

View file

@ -0,0 +1,27 @@
title: Laboratoire
tabs:
contentTab:
label: Contenu
icon: page
columns:
- width: 1/3
fields:
chapo:
label: Introduction
type: writer
nodes: false
buttons: false
- width: 2/3
sections:
projectsSection:
type: pages
label: Liste des projets
template: project
create: project
layout: list
text: "{{ page.title }}"
info: "{{ page.category }} — {{ page.created.toDate('d/m/Y') }}"
sortBy: created desc
seo: seo/page

View file

@ -0,0 +1,64 @@
title: Projet
tabs:
contentTab:
label: Contenu
icon: page
columns:
- width: 2/6
sections:
createdSection:
type: fields
fields:
created:
label: Date de publication
type: date
display: DD / MM / YYYY
default: today
width: 1/2
category:
label: Catégorie
type: tags
max: 1
options: query
query: page('database').projectCategories.split
cover:
label: Image de couverture
type: files
multiple: false
layout: cards
image:
ratio: 12/7
cover: true
help: Optionnelle — utilisée dans la liste des projets
- width: 4/6
fields:
chapo:
label: Chapeau
type: writer
nodes: false
marks:
- bold
- italic
linkedInvestigations:
label: Enquêtes liées
type: pages
query: page('enquetes').children.listed
multiple: true
layout: list
text: "{{ page.title }}"
info: "{{ page.created }}"
body:
label: Corps
type: blocks
fieldsets:
- heading
- text
- image
- beforeafter
- video
- gallery
- insert
seo: seo/page

View file

@ -1,7 +0,0 @@
title: Resources
tabs:
contentTab:
label: Contenu
icon: page
seo: seo/page