templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <title>{% block title %}{% endblock %}</title>
            <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
            {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
            {% block stylesheets %}
              {{ encore_entry_link_tags('app') }}
            {% endblock %}
    
            {% block javascripts %}
                {{ encore_entry_script_tags('app') }}
    
                <!-- Renders app.js & a webpack runtime.js file
                    <script src="/build/runtime.js" defer></script>
                    <script src="/build/app.js" defer></script>
                    See note below about the "defer" attribute -->
            {% endblock %}
        </head>
    
            {% if app.request.get('_route') != 'app_login' %}
                <body>
                {% include 'user_app/layout/header.html.twig' %}
            {% else %}
                <body class="loginform">
            {% endif %}
    
    
            {% block body %}
            <div class="container">
                <div class="row">
                    <div class="col">
    
                        {% block body_inner %}{% endblock %}
    
                    </div>
                </div>
            </div>
            {% endblock %}
    
            {% if app.request.get('_route') != 'app_login' %}
                {% include 'user_app/layout/footer.html.twig' %}
            {% endif %}
        </body>
    </html>