templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
    <html lang="ru" prefix="og:https://ogp.me/ns#">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <meta name="format-detection" content="telephone=no">
    
        {% if page.seoInfo %}
            {{ render_metadata(page.seoInfo) }}
        {% else %}
            <title>{{ page.name }}</title>
        {% endif %}
    
        <meta name="msapplication-config" content="{{ asset('assets/front/img/favicons/browserconfig.xml') }}">
        <meta name="theme-color" content="#35bfae;">
    
        {{ static_block('head-meta')|raw }}
    
        <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/front/img/favicons/apple-touch-icon.png') }}">
        <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/front/img/favicons/favicon-32x32.png') }}">
        <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/front/img/favicons/favicon-16x16.png') }}">
        <link rel="manifest" href="{{ asset('assets/front/img/favicons/site.webmanifest') }}">
        <link rel="mask-icon" color="#5bbad5" href="{{ asset('assets/front/img/favicons/safari-pinned-tab.svg') }}">
        <link rel="shortcut icon" href="{{ asset('assets/front/img/favicons/favicon.ico') }}">
    
        <link rel="stylesheet" href="{{ asset('assets/front/css/index.css') }}">
        <link rel="stylesheet" href="{{ asset('assets/front/css/application/header.css') }}">
        <link rel="stylesheet" href="{{ asset('assets/front/css/application/footer.css') }}">
    
        {% block stylesheets %}{% endblock %}
    
        <script src="{{ asset('assets/front/vendor/requirejs/require.min.js') }}"></script>
        <script src="{{ asset('assets/front/vendor/requirejs/require.config.js') }}"></script>
        <script defer src="{{ asset('assets/front/js/application/header.js') }}"></script>
    {#    <script defer src="{{ asset('assets/front/js/application/footer.js') }}"></script>#}
    
        {{ encore_entry_script_tags('webform') }}
    
        {{ static_block('head-script')|raw }}
    
    </head>
    <body>
        {% include 'include/header.html.twig' with {'class': 'filled', 'main': false} %}
    
        <main class="main-content padded">
            <div class="divider d-40 m-20 "></div>
    
            {% include 'include/preloader.html.twig' %}
            {% include 'include/breadcrumbs.html.twig' %}
    
            {% block body %}
                <div class="main-content__container container">
                    <div class="main-content__body">
                        {% for widget in page.getAvailableWidgets() %}
                            {% if widget.type != 'App\\Widget\\MainJournal' %}
                                {{ render_widget(widget, { page: page }) }}
                            {% endif %}
                        {% endfor %}
                    </div>
                    <div class="main-content__sidebar">
                        {% for widget in sidebarWidgets %}
                            {{ render_widget(widget, {}) }}
                        {% endfor %}
                    </div>
                </div>
    
            {% endblock %}
        </main>
    
        {% include 'include/footer.html.twig' %}
        {% include 'include/metadata_warning.html.twig' %}
        {% include 'include/preloader_script.html.twig' %}
    
        {% block javascripts %}{% endblock %}
    
        {{ static_block('counters')|raw }}
    </body>
    </html>