Files
m038 a2920f812d Rename image fields and implement werk-in-detail gallery
- Rename image_main/image_secondary/image_logo/image_portrait to
  portret/extra_1/logo/extra_2 in pages, blueprints, and templates
- Add extra_2 image slot to home and CV (hidden on mobile)
- Wire werk-in-detail to real child pages instead of picsum placeholders
- Remove glightbox CDN dependency from werk-in-detail
- Add album blueprint, template, and grote-objecten album page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 18:49:29 +02:00

25 lines
795 B
Twig

{% extends 'partials/base.html.twig' %}
{% block content %}
<div class="row mb-3">
<h1 class="funky-font main-header text-center">{{ page.title }}</h1>
</div>
<div class="row g-3">
{% for child in page.children %}
{% if child.published %}
<div class="col-6 col-md-4 col-lg-3">
<a href="{{ child.url }}" class="gallery-item d-block">
<div class="gallery-thumb">
{% for name, img in child.media.images %}
{% if loop.first %}
<img src="{{ img.url }}" loading="lazy" alt="{{ child.title }}">
{% endif %}
{% endfor %}
</div>
<p class="mt-2 text-center small">{{ child.title }}</p>
</a>
</div>
{% endif %}
{% endfor %}
</div>
{% endblock %}