{% extends "public_base.html" %} {% block title %}{{ site.name }} — {{ site.tagline }}{% endblock %} {% block hero %} {# A feature that owns the headline moment (an edition, a campaign) renders the whole hero through the home.hero slot. When nothing contributes, the shell draws its own from the product's SITE_* config. #} {% set contributed_hero = render_template_hooks("home.hero") %} {% if contributed_hero %} {{ contributed_hero }} {% else %}
{% set ev_eyebrow = ('Edición ' ~ site.event.edition ~ ' · ' ~ site.event.dates ~ ' · ' ~ site.event.venue) if (site.event and site.event.iso) else site.hero_eyebrow %} {% if ev_eyebrow %}

{{ ev_eyebrow }}

{% endif %}

{{ site.name }}

{{ site.tagline }}

{% if site.event and site.event.iso %}
--{{ _('days') }}
--{{ _('hours') }}
--{{ _('min') }}
--{{ _('sec') }}
{% endif %} {% if site.hero_actions %}

{% for a in site.hero_actions %}{{ a.label }}{% endfor %}

{% endif %}
{% endif %} {% endblock %} {% block content %} {% if site.highlights %}
{% if site.highlights_title %}

{{ site.highlights_title }}

{% endif %}
{% for h in site.highlights %}
{% if h.icon %}{{ h.icon }}{% endif %}

{{ h.title }}

{% if h.text %}

{{ h.text }}

{% endif %}
{% endfor %}
{% endif %} {# Sections contributed by content features (upcoming events, partners, latest photos…), rendered in their registered order. A product with no content features still gets the SITE_* fallbacks below. A feature with something to show beside the sections rather than among them (counters, a call to action) contributes to home.aside. Only then does the home split into the sections and a narrower column next to them, stacked on small screens (assets/css/home.css). When nothing renders in home.aside the sections keep the full width, exactly as before the slot existed. #} {% set home_sections = render_template_hooks("home.section") %} {% set home_aside = render_template_hooks("home.aside") %} {% if home_aside %}
{% if home_sections %}
{{ home_sections }}
{% endif %}
{% else %} {{ home_sections }} {% endif %} {% if site.sponsors %}

{{ site.sponsors_title }}

{% for s in site.sponsors %}
{{ s }}
{% endfor %}
{% endif %} {% if site.gallery %}

{{ site.gallery_title }}

{% endif %} {% if site.cta and site.cta.title %}

{{ site.cta.title }}

{% if site.cta.text %}

{{ site.cta.text }}

{% endif %} {{ site.cta.button | default(_('Learn more')) }}
{% endif %} {% endblock %}