{% set active_page = page_registry.get(active_page | d(self._TemplateReference__context.name)) %} {% block head %} {# Most important segment first — shown in browser tabs. #} {% block title %} {% if repo %} {% if path %}{{ repo._decode(path) }} •{% endif %} {{ repo.display_name }} • {% endif %} {% if active_page %}{{ active_page.label }}{% endif %} {% endblock title %} • {{ header_name }} {{ catalog.render_assets() }} {% endblock head %} {% block script %} {% endblock script %} {% block body %} {% if currentuser %} {% include "sidebar.html" with context %} {% endif %}
{# Let define default breadcrumb for repo path. #}
{% if self._TemplateReference__context.name != 'error_page.html' %} {% endif %} {% block content %}{% endblock %}
{% endblock body %}