{% set intro = g.site_intro_text %} {% block home_image %} {# ── Top bar: logo (left) + user (right) ──────────────────────────── #} {% if g.site_logo %} {% else %} {% endif %} {% if c.userobj %} {{ h.user_image((c.user if c and c.user else ''), size=20) }} {{ c.userobj.display_name }} {% else %} {{ _("Log in") }} {% endif %} {# ── Hero body: title + subtitle + search ─────────────────────────── #} {% if intro %} {{ h.render_markdown(intro|replace('^[ \t]*|[ \t]*$', '')) }} {% else %} {{ g.site_description or g.site_title }} {% trans %}Find and explore datasets — all in one place.{% endtrans %} {% endif %} {# ── Counter strip ────────────────────────────────────────────────────── #}
{% trans %}Find and explore datasets — all in one place.{% endtrans %}