{% 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 and request.event.display_settings.header_pattern != "plain" %} {% with "common/css/headers/"|add:request.event.display_settings.header_pattern|add:".css" as header_path %} {% endwith %} {% endif %} {% block stylesheets %}{% endblock stylesheets %} {% if request.event and request.event.has_custom_styles %}{% endif %} {% if request.event and request.event.custom_css %}{% endif %} {% 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 %} {% include "common/includes/nonpublic.html" %} {% 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 %}
{% include "common/includes/modals.html" %}