{% extends "base.html" %} {% block title %}{{ t('home.meta.title') }}{% endblock %} {% block description %}{{ t('home.meta.description') }}{% endblock %} {% block content %}

{{ t('home.hero.title') }}

{{ t('home.hero.subtitle') }}

{{ t('home.hero.cta') }}
{# An `image` field: the src is editable copy, so clicking the picture in the editor opens it in the side panel and a pasted URL swaps it live. The alt text is its own (invisible) field right beside it. The narrow copies are generated ahead of time for the photo that ships with the site, so they are only offered while that is still the photo: a replaced one has no variants, and a `srcset` left behind outranks `src` — the browser would go on painting the old picture. Any site with responsive images needs this guard. #} {{ t('home.hero.alt') }}

{{ t('home.values.heading') }}

{# A collection: the count lives in the data, so this template never says "three". Adding a photo in the panel adds one here, with no deploy. #}

{{ t('home.galeria.heading') }}

{% for foto in t_list('home.galeria') %}
{{ foto.cap }}
{{ foto.cap }}
{% endfor %}

La colección

{% for slug, item in products.items() %} {# .product-card is declared as external_content: its name/price come from the catalogue, so a click in the editor says so instead of shrugging. #} {{ item.emoji }} {{ item.name }} {{ item.price }} {% endfor %}
{% endblock %}