{% block meta %}
{# This is far from perfect. The response headers should already come with this. #}
{% if app.request.server.get('APP_ENV') not in ['test', 'dev'] %}
{% endif %}
{% endblock %}
{% block title %}{% endblock %}
{% block stylesheets %}
{% for stylesheet in show_stylesheets(app.request.get('_route')) %}
{% endfor %}
{% endblock %}
{% for arr in handle_event('ShowHeadElements', app.request) %}
{# Only one element, but has dynamic value, can't access it directly #}
{% for type, element in arr %}
<{{ type }} rel="{{ element['rel'] }}" type="{{ element['type'] }}" href="{{ element['href'] }}" title="{{ element['title'] }}">
{% endfor %}
{% endfor %}
{% for block in handle_event('AppendToHead', app.request) %}
{{ block | raw }}
{% endfor %}
{% block header %}
{{ block("leftpanel", "stdgrid.html.twig") }}