{% extends 'core/base.html' %} {% block content %}

{{ plant.common_name.name }}

{{ plant.scientific_name.name }}
{# ── DESKTOP / TABLET GALLERY ──────────────────────────── #}
{# hero image #} {% set hero = featured or plant.media_items|first %} {% if hero %}
Image for {{ plant.common_name.name }}
{% endif %} {# thumbnails #}
{% for m in plant.media_items %} Thumbnail {% endfor %}
{# ── MOBILE GRID GALLERY ─────────────────────────────── #}
{% for m in plant.media_items %}
Image for {{ plant.common_name.name }}
{% endfor %}
{# ── LIGHTBOX OVERLAY ─────────────────────────────────── #} {% endblock %}