diff --git a/pages/04.werk-in-detail/werk-in-detail.en.md b/pages/04.werk-in-detail/werk-in-detail.en.md index c9752dd..86f2d62 100644 --- a/pages/04.werk-in-detail/werk-in-detail.en.md +++ b/pages/04.werk-in-detail/werk-in-detail.en.md @@ -1,6 +1,7 @@ --- title: 'Work in detail' menu: 'Work in detail' +child_type: album sitemap: lastmod: '18-08-2026 17:59' --- diff --git a/pages/04.werk-in-detail/werk-in-detail.nl.md b/pages/04.werk-in-detail/werk-in-detail.nl.md index 03232fa..3fa9fa1 100644 --- a/pages/04.werk-in-detail/werk-in-detail.nl.md +++ b/pages/04.werk-in-detail/werk-in-detail.nl.md @@ -1,6 +1,8 @@ --- title: 'Werk in detail' +child_type: default sitemap: lastmod: '24-08-2026 19:25' --- +asdasd \ No newline at end of file diff --git a/themes/natascha/blueprints/contact.yaml b/themes/natascha/blueprints/contact.yaml new file mode 100644 index 0000000..bbf15bc --- /dev/null +++ b/themes/natascha/blueprints/contact.yaml @@ -0,0 +1,4 @@ +title: Contact +'@extends': + type: default + context: blueprints://pages diff --git a/themes/natascha/blueprints/werk-in-detail.yaml b/themes/natascha/blueprints/werk-in-detail.yaml new file mode 100644 index 0000000..2b26aa2 --- /dev/null +++ b/themes/natascha/blueprints/werk-in-detail.yaml @@ -0,0 +1,25 @@ +title: 'Werk in detail' +'@extends': + type: default + context: blueprints://pages + +form: + fields: + tabs: + fields: + content: + fields: + header.media_order: + unset@: true + advanced: + fields: + columns: + fields: + column1: + fields: + name: + disabled: true + overrides: + fields: + header.child_type: + default: album diff --git a/themes/natascha/templates/galerie.html.twig b/themes/natascha/templates/galerie.html.twig index ecfe959..855c138 100644 --- a/themes/natascha/templates/galerie.html.twig +++ b/themes/natascha/templates/galerie.html.twig @@ -35,7 +35,7 @@ {% set section1_images = (page.header.section1_images ?? [])|map(item => page.media[item.image] ?? null)|filter(img => img is not null) %} {% set section2_images = (page.header.section2_images ?? [])|map(item => page.media[item.image] ?? null)|filter(img => img is not null) %} -
+
{{ gallery.imagegrid(section1_images, 1) }}
@@ -47,7 +47,7 @@
-
+
{% if page.header.section2_heading %}

{{ page.header.section2_heading }}

{% endif %} {{ page.header.section2_text|markdown }} diff --git a/themes/natascha/templates/werk-in-detail.html.twig b/themes/natascha/templates/werk-in-detail.html.twig index c0485d4..812aa8e 100644 --- a/themes/natascha/templates/werk-in-detail.html.twig +++ b/themes/natascha/templates/werk-in-detail.html.twig @@ -3,6 +3,13 @@

{{ page.title }}

+{% if content %} +
+
+ {{ content|raw }} +
+
+{% endif %}
{% for child in page.children %} {% if child.published %}