{% extends "MapbenderCoreBundle::index.html.twig" %}

{% block title %}{{ fom.server_name }} - {{ application.title }}{% endblock %}

{% block css %}
    {{ parent() }}
    <link rel="stylesheet" href="{{ path('mapbender_core_application_assets', {'slug': application.slug, 'type': 'css'}) }}"/>
{% endblock %}

{% block trans %}
    {{parent()}}
    <script type="text/javascript" src="{{ path('mapbender_core_application_assets', {'slug': application.slug, 'type': 'trans'}) }}"></script>
{% endblock %}

{% block js %}
    <script type="text/javascript">window.applicationConfigUrl = '{{ path('mapbender_core_application_configuration', {'slug': application.slug}) }}';</script>
    {{parent()}}
    <script type="text/javascript" src="{{ path('mapbender_core_application_assets', {'slug': application.slug, 'type': 'js'}) }}"></script>
{% endblock %}

{% block content %}
    {% block frontend_content %}{% endblock %}
{% endblock %}
