{% load compress %} {% load safelink %} {% load i18n %} {% load rules %} {% load static %} {% block title %}{% endblock title %} {% if request.event %} {{ request.event.name }} {% endif %}:: pretalx {{ html_head|safe }} {% if request.event and request.event.display_settings.meta_noindex %} {% else %} {% endif %} {% block meta_image %}{% if request.event %} {% endif %}{% endblock meta_image %} {% include "common/includes/favicon.html" %} {% if request.event.display_settings.header_pattern %} {% endif %} {% compress css %} {% endcompress %} {% block stylesheets %}{% endblock stylesheets %} {% if request.event and request.event.primary_color %}{% endif %} {% if request.event and request.event.custom_css %}{% endif %} {% compress js %} {% endcompress %} {% block scripts %}{% endblock scripts %} {% block custom_header %}{% endblock custom_header %}
{% if request.event and request.event.header_image %} {# we’re not lazy-loading the header image, even though it can be large, because it’s a bit jarring to see it flash in 100ms after the page load #} {{ request.event.name }} {% endif %}
{% if request.event and not request.event.is_public and not is_html_export %}
{% blocktranslate trimmed %} This event is currently non-public. Only organisers can see it. {% endblocktranslate %}
{% endif %}

{% if request.event and request.event.logo %} {% elif request.event %} {{ request.event.name }} {% endif %}

{% block header_tabs %}{% endblock header_tabs %}
{% if request.event and request.event.locales|length > 1 and not is_html_export %}
{% for l, name in request.event.named_locales %} {{ name }} {% endfor %} • 
{% endif %} {% block header_right %}{% endblock header_right %} {% if request.event and request.user.is_authenticated and not is_html_export %} {% elif not is_html_export %} {% if request.event %} login {% else %} login {% endif %} {% endif %}
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %} {% block content %}{% endblock content %}