{% 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. #}
{% for hook in get_template_hooks("home.section") %}{{ hook() | safe }}{% endfor %}
{% if site.sponsors %}