Merge intro+heading into section text fields on galerie and gallery-1

This commit is contained in:
GitSync
2026-08-30 15:35:25 +02:00
parent d95a611a68
commit 9c166496dd
6 changed files with 29 additions and 47 deletions
+2 -15
View File
@@ -13,19 +13,10 @@ form:
type: tab
title: Inhoud
fields:
header.intro:
type: text
label: Introductietekst
help: 'Korte openingszin, boven de eerste kop.'
header.section1_heading:
type: text
label: 'Kop sectie 1 (boven)'
default: 'Op dit moment te zien'
header.section1_text:
type: textarea
label: 'Tekst sectie 1 (boven)'
rows: 6
rows: 10
header.section1_images:
type: list
label: "Foto's sectie 1 (boven)"
@@ -41,14 +32,10 @@ form:
label: Foto
preview_images: true
header.section2_heading:
type: text
label: 'Kop sectie 2 (onder)'
default: 'Bezoeken & aankoop'
header.section2_text:
type: textarea
label: 'Tekst sectie 2 (onder)'
rows: 6
rows: 10
header.section2_images:
type: list
label: "Foto's sectie 2 (onder)"
+2 -15
View File
@@ -13,19 +13,10 @@ form:
type: tab
title: Inhoud
fields:
header.intro:
type: text
label: Introductietekst
help: 'Korte openingszin, boven de eerste kop.'
header.section1_heading:
type: text
label: 'Kop sectie 1 (boven)'
default: 'Op dit moment te zien'
header.section1_text:
type: textarea
label: 'Tekst sectie 1 (boven)'
rows: 6
rows: 10
header.section1_images:
type: list
label: "Foto's sectie 1 (boven)"
@@ -41,14 +32,10 @@ form:
label: Foto
preview_images: true
header.section2_heading:
type: text
label: 'Kop sectie 2 (onder)'
default: 'Bezoeken & aankoop'
header.section2_text:
type: textarea
label: 'Tekst sectie 2 (onder)'
rows: 6
rows: 10
header.section2_images:
type: list
label: "Foto's sectie 2 (onder)"
@@ -41,15 +41,12 @@
</div>
<div class="col-12 col-md-6 p-3 text-start content-text order-2 order-md-1">
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
{% if page.header.intro %}{{ page.header.intro|markdown }}{% endif %}
{% if page.header.section1_heading %}<h2 class="funky-font">{{ page.header.section1_heading }}</h2>{% endif %}
{{ page.header.section1_text|markdown }}
</div>
</div>
<div class="row g-3 mt-2">
<div class="col-12 col-md-6 p-3 text-start content-text order-2">
{% if page.header.section2_heading %}<h2 class="funky-font">{{ page.header.section2_heading }}</h2>{% endif %}
{{ page.header.section2_text|markdown }}
<div class="d-flex flex-column flex-sm-row gap-2 mt-3">
<a href="{{ url('/werk-in-detail') }}" class="btn btn-brand">{{ is_en ? 'View work in detail' : 'Bekijk werk in detail' }}</a>
@@ -44,15 +44,12 @@
</div>
<div class="col-12 col-md-6 p-3 text-start content-text order-2 order-md-1">
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
{% if page.header.intro %}{{ page.header.intro|markdown }}{% endif %}
{% if page.header.section1_heading %}<h2 class="funky-font">{{ page.header.section1_heading }}</h2>{% endif %}
{{ page.header.section1_text|markdown }}
</div>
</div>
<div class="row g-3 mt-2">
<div class="col-12 col-md-6 p-3 text-start content-text order-2">
{% if page.header.section2_heading %}<h2 class="funky-font">{{ page.header.section2_heading }}</h2>{% endif %}
{{ page.header.section2_text|markdown }}
<div class="d-flex flex-column flex-sm-row gap-2 mt-3">
<a href="{{ url('/werk-in-detail') }}" class="btn btn-brand">Bekijk werk in detail</a>