Files
GitSyncandClaude Sonnet 5 c00bdaee7c Split galerie's second section into title + text fields
- Add header.section2_title (CMS field: "Titel - rechts beneden")
  alongside header.section2_text ("Tekst - rechts beneden")
- Render the title as its own heading above the text, instead of
  folding it into the markdown body
- Zero out the heading's top margin so it aligns with the top of the
  adjacent image grid

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-30 16:39:23 +02:00

74 lines
2.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
title: Galerie
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Inhoud
fields:
header.section1_text:
type: markdown
label: 'Tekst sectie 1 (boven)'
validate:
type: textarea
header.section1_images:
type: list
label: "Foto's sectie 1 (boven, max. 2)"
help: "Sleep om te herschikken. Deze foto's verschijnen naast de tekst hierboven. Maximaal 2 foto's; zonder foto's tonen we placeholder-afbeeldingen."
style: vertical
collapsed: false
multiple: true
validate:
max: 2
fields:
.image:
type: pagemediaselect
label: Foto
preview_images: true
header.section2_title:
type: text
label: 'Titel rechts beneden'
header.section2_text:
type: markdown
label: 'Tekst rechts beneden'
validate:
type: textarea
header.section2_images:
type: list
label: "Foto's sectie 2 (onder, max. 2)"
help: "Sleep om te herschikken. Deze foto's verschijnen naast de tekst hierboven. Maximaal 2 foto's; zonder foto's tonen we placeholder-afbeeldingen."
style: vertical
collapsed: false
multiple: true
validate:
max: 2
fields:
.image:
type: pagemediaselect
label: Foto
preview_images: true
content:
unset@: true
options:
type: tab
fields:
taxonomies:
unset@: true
advanced:
type: tab
fields:
columns:
fields:
column1:
fields:
name:
disabled: true