gallery-2/3: use page media ordering instead of explicit image list field

This commit is contained in:
GitSync
2026-08-30 15:25:44 +02:00
parent 81b3d888ef
commit aff73e7fbd
4 changed files with 2 additions and 24 deletions
@@ -9,7 +9,7 @@
{% import 'galerie.html.twig' as gallery %}
{% block content %}
{% set section1_images = (page.header.section1_images ?? [])|map(item => page.media[item.image] ?? null)|filter(img => img is not null) %}
{% set section1_images = page.media.images %}
<div class="row bg-light-subtle text-center py-1 mb-2">
<small class="text-muted">Concept: tekst + 4 foto's (zoals hoofd-Galerie)</small>
@@ -9,7 +9,7 @@
{% import 'galerie.html.twig' as gallery %}
{% block content %}
{% set section1_images = (page.header.section1_images ?? [])|map(item => page.media[item.image] ?? null)|filter(img => img is not null) %}
{% set section1_images = page.media.images %}
<div class="row bg-light-subtle text-center py-1 mb-2">
<small class="text-muted">Concept: 4 foto's + tekst (zoals hoofd-Galerie)</small>