Consolidate gallery pages: gallery-1 becomes the main Galerie page

- Replace the old placeholder galerie page content with gallery-1's
  real content (text + 4 uploaded photos), keeping the /galerie route
  and its position in the main nav
- Remove gallery-2 and gallery-3 (prototype pages) and their media
- Switch section text fields from plain textarea to Grav's markdown
  editor type, restoring the formatting toolbar in Admin
- Trim the image grid/blueprint caps to 2 per section to match
  gallery-1's actual content

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GitSync
2026-08-30 16:18:07 +02:00
co-authored by Claude Sonnet 5
parent ea794f3b57
commit 78662aef8f
21 changed files with 32 additions and 360 deletions
+12 -10
View File
@@ -14,18 +14,19 @@ form:
title: Inhoud
fields:
header.section1_text:
type: textarea
type: markdown
label: 'Tekst sectie 1 (boven)'
rows: 10
validate:
type: textarea
header.section1_images:
type: list
label: "Foto's sectie 1 (boven, max. 4)"
help: "Sleep om te herschikken. Deze foto's verschijnen naast de tekst hierboven. Maximaal 4 foto's; zonder foto's tonen we placeholder-afbeeldingen."
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: 4
max: 2
fields:
.image:
type: pagemediaselect
@@ -33,18 +34,19 @@ form:
preview_images: true
header.section2_text:
type: textarea
type: markdown
label: 'Tekst sectie 2 (onder)'
rows: 10
validate:
type: textarea
header.section2_images:
type: list
label: "Foto's sectie 2 (onder, max. 4)"
help: "Sleep om te herschikken. Deze foto's verschijnen naast de tekst hierboven. Maximaal 4 foto's; zonder foto's tonen we placeholder-afbeeldingen."
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: 4
max: 2
fields:
.image:
type: pagemediaselect
-68
View File
@@ -1,68 +0,0 @@
title: Galerie 1
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Inhoud
fields:
header.section1_text:
type: textarea
label: 'Tekst sectie 1 (boven)'
rows: 10
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_text:
type: textarea
label: 'Tekst sectie 2 (onder)'
rows: 10
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
-39
View File
@@ -1,39 +0,0 @@
title: Galerie 2
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Inhoud
fields:
header.text:
type: textarea
label: Tekst
rows: 12
content:
unset@: true
header.media_order:
ordering@: 99
options:
type: tab
fields:
taxonomies:
unset@: true
advanced:
type: tab
fields:
columns:
fields:
column1:
fields:
name:
disabled: true
-39
View File
@@ -1,39 +0,0 @@
title: Galerie 3
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Inhoud
fields:
header.text:
type: textarea
label: Tekst
rows: 12
content:
unset@: true
header.media_order:
ordering@: 99
options:
type: tab
fields:
taxonomies:
unset@: true
advanced:
type: tab
fields:
columns:
fields:
column1:
fields:
name:
disabled: true