templates/Frontend/base.html.twig line 32

Open in your IDE?
  1. {% set selected_lang =  app.request.getLocale() %}
  2. <!DOCTYPE html>  
  3. <html lang="{{selected_lang}}" dir="ltr"> 
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta http-"equiv=X-UA-Compatible" content="IE=edge">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1">
  8.     <meta name="theme-color" content="#206ba4">
  9.     <meta name="msapplication-navbutton-color" content="#206ba4">
  10.     <meta name="apple-mobile-web-app-status-bar-style" content="#206ba4"> 
  11.     <meta name="language" content="{{selected_lang}}"/>
  12.     <meta name="robots" content="index, follow, all"/>
  13.     <meta name="googlebot" content="index, follow"/>
  14.     <meta name="copyright" content="elevenmedia"/> 
  15.     <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" type="image/x-icon">
  16.     {% block seoheader %}
  17.         {% include 'Frontend/Render/head/_seoheader.html.twig' %}
  18.     {% endblock %}
  19.     {% block stylesheets %}
  20.         {% include 'Frontend/Render/head/_stylesheets.html.twig'%}
  21.     {% endblock %}
  22.     {% block javascripts %}
  23.         {% include 'Frontend/Render/head/_javascripts.html.twig'%}
  24.     {% endblock %}
  25. </head>
  26. <body class="{% if selected_lang == 'en' %}style_en{% endif %}">
  27.     {% block header %}
  28.         {#% include 'Frontend/_header.html.twig' with {'page_selected':page_selected} %#}
  29.         {{ render(path('_header')) }}
  30.     {% endblock %}
  31.  
  32.     {% block switcher %}{% endblock %}
  33.  
  34.     {% block body %}{% endblock %}
  35.  
  36.     {% block footer %}
  37.         {#% include 'Frontend/_footer.html.twig' with {'page_selected':page_selected} %#}
  38.         {{ render(path('_footer')) }}
  39.     {% endblock %}
  40.     <script type="text/javascript" src="{{ asset('assets/js/main.js')}}"></script>
  41. </body>
  42. </html>