{% if user is defined and user %} {# ── Authenticated nav ─────────────────────────────────────── #}
{# Top bar: breadcrumb + user actions #}
forage
{% if current_org is defined and current_org %}
/
{% if orgs is defined and orgs | length > 1 %}
{{ current_org }}
{% for org in orgs %}
{{ org.name }}
{% endfor %}
{% else %}
{{ current_org }}
{% endif %} {% if projects is defined and projects | length > 0 %}
/
{% if project_name is defined and project_name %}{{ project_name }}{% else %}Select project{% endif %}
{% for p in projects %}
{{ p }}
{% endfor %}
{% elif project_name is defined and project_name %}
/
{{ project_name }}
{% endif %} {% endif %}
{{ user.username }}
Sign out
{# Tab navigation #}
{% if project_name is defined and project_name %} {# ── Project-level tabs ─────────────────────────────── #}
Overview
Releases
{% elif current_org is defined and current_org %} {# ── Org-level tabs ─────────────────────────────────── #}
Overview
Projects
Members
Destinations
Usage
Tokens
Settings
{% else %} {# ── Global tabs (no org context) ───────────────────── #}
Overview
Tokens
Settings
{% endif %}
{% else %} {# ── Marketing nav ─────────────────────────────────────────── #}
forage
Pricing
Components
Sign in
{% endif %}
{% block content %}{% endblock %}