templates/front/base/base.html.twig line 71

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ app.session.get('lang') == 'si' ? 'sl' : app.session.get('lang') }}">
  3.     {% block head %}
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <title>{% block meta_title %}{{'home.meta.title'|trans }}{% endblock %}</title>
  7.         {% if constant('IS_MOBILE') %}
  8.             <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no;" name="viewport">
  9.             <meta content="True" name="HandheldFriendly">
  10.             <meta content="320" name="MobileOptimized">
  11.         {% else %}
  12.             <meta name="SKYPE_TOOLBAR" content ="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
  13.         {% endif %}
  14.         <meta name="description" content="{% block meta_description %}{% endblock %}">
  15.         <meta name="keywords" content="{% block meta_keywords %}{{ legacy_trans('comprar a precio mayorista, oferta dropshipping, venta al por mayor, productos a precio mayorista, dropshipping', 'Controller')|addslashes }}{% endblock %}">
  16.         {% if metas is defined %}
  17.             <meta property="og:title" content="{% block meta_title_fb %}{% endblock %}" />
  18.             <meta property="og:type" content="website" />
  19.             <meta property="og:image" content="{% block meta_image_fb %}{% endblock %}" />
  20.             <meta property="og:url" content="{% block current_url %}{{ base_url }}{% endblock %}" />
  21.             <meta property="og:description" content="{% block meta_description_fb %}{% endblock %}" />
  22.             <meta property="og:site_name" content="{{ block('meta_title') }}" />
  23.         {% endif %}
  24.         {% include 'front/base/js_head.html.twig' %}
  25.         {% block link_rel_alternate %}
  26.             {%  if languages is defined %}
  27.                 {% for lang in languages %}
  28.                     <link rel="alternate" href="{{ lang.url }}" hreflang="{% if lang.isoCodeReal is not empty %}{{ lang.isoCodeReal }}{% else %}{{ lang.isoCode }}{% endif %}" />
  29.                 {% endfor %}
  30.             {% endif %}
  31.         {% endblock %}
  32.         {% block link_rel_canonical %}{% endblock %}
  33.         {% block stylesheets %}
  34.             <link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,400italic,700|Roboto:400,500,700,300,400italic,700italic&subset=latin,cyrillic-ext,cyrillic,latin-ext,greek-ext,greek' rel='stylesheet' type='text/css'>
  35.             <link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
  36.             {% if not constant('IS_MOBILE') %}
  37.                 <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
  38.             {% endif %}
  39.             <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.js"></script>
  40.             {{ encore_entry_link_tags('bigbuy-ui-css') }}
  41.             {{ encore_entry_link_tags('bigbuy-ui') }}
  42.             <link rel="stylesheet" href="{{ base_url_img }}public/css/{{ constant('IS_MOBILE') ? 'mobile.css?tmp=202208030944' : 'front.css?tmp=202208030944' }}">
  43.             <link rel="stylesheet" href="{{ base_url_img }}public/css/magnific-popup.css">
  44.             <link rel="stylesheet" href="{{ base_url_img }}public/css/lightbox.css" type="text/css" media="screen" />
  45.             <link rel="stylesheet" href="{{ base_url_img }}public/fontawesome/css/all.min.css" type="text/css" media="screen" />
  46.         {% endblock %}
  47.         {% block js_head %}
  48.             {% include 'front/base/js_vwo.html.twig' %}
  49.             
  50.             {# Didomi scripts #}
  51.             {% include 'front/base/didomi_scripts.html.twig' %}
  52.             {% include 'front/base/empathy_scripts.html.twig' %}
  53.         {% endblock %}
  54.     </head>
  55.     {% endblock %}
  56.     <body>
  57.         {% block header %}{% endblock %}
  58.         {% block content %}{% endblock %} {# TODO if is old browser, show message #}
  59.         {{ render(controller('App\\Controller\\Front\\FooterController::footer', { isShop: is_shop, isAccountCreation: is_account_creation|default(false)})) }}
  60.         
  61.         <script src="https://kit.fontawesome.com/d852f36c8f.js"></script>
  62.         {% include 'include/cms/notification_dialog.html.twig' %}
  63.         {% block js_footer %}
  64.             {% include 'front/base/footer/js_footer.html.twig' %}
  65.         {% endblock %}
  66.         {% block javascript %}
  67.         {# Carga de scripts al final de la web #}
  68.         {% endblock %}
  69.         <div class="scroll-locker"></div>
  70.     </body>
  71. </html>