templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, user-scalable=no">
  6.         <title>{% block title %}Welcome!{% endblock %}</title>
  7.         {% if app.environment == 'prod' %}
  8.             <!-- Facebook Pixel Code -->
  9.             <script>
  10.                 !function(f,b,e,v,n,t,s)
  11.                 {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  12.                     n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  13.                     if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  14.                     n.queue=[];t=b.createElement(e);t.async=!0;
  15.                     t.src=v;s=b.getElementsByTagName(e)[0];
  16.                     s.parentNode.insertBefore(t,s)}(window, document,'script',
  17.                     'https://connect.facebook.net/en_US/fbevents.js');
  18.                 fbq('init', '113403019494089');
  19.                 fbq('track', 'PageView');
  20.             </script>
  21.             <noscript><img height="1" width="1" style="display:none"
  22.                            src="https://www.facebook.com/tr?id=113403019494089&ev=PageView&noscript=1"
  23.                 /></noscript>
  24.             <!-- End Facebook Pixel Code -->
  25.             <!-- Global site tag (gtag.js) - Google Ads: 1057082315 -->
  26.             <script async src="https://www.googletagmanager.com/gtag/js?id=AW-1057082315"></script>
  27.             <script>
  28.                 window.dataLayer = window.dataLayer || [];
  29.                 function gtag(){dataLayer.push(arguments);}
  30.                 gtag('js', new Date());
  31.                 gtag('config', 'AW-1057082315');
  32.             </script>
  33.         {% endif %}
  34.         <link rel="icon" href="{{ asset('img/favicon.png') }}" />
  35.         <link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}" />
  36.         <link rel="stylesheet" href="{{ asset('css/style.css') }}" />
  37.         <link rel="stylesheet" href="{{ asset('css/menu.css') }}" />
  38.         <link rel="stylesheet" href="{{ asset('css/footer.css') }}" />
  39.         <!-- Global site tag (gtag.js) - Google Analytics -->
  40.         <script async src="https://www.googletagmanager.com/gtag/js?id=G-LED0W4CWM0"></script>
  41.         <script>
  42.             window.dataLayer = window.dataLayer || [];
  43.             function gtag(){dataLayer.push(arguments);}
  44.             gtag('js', new Date());
  45.             gtag('config', 'G-LED0W4CWM0');
  46.         </script>
  47.         {% block stylesheets %}
  48.         {% endblock %}
  49.     </head>
  50.     <body>
  51.         {% block topMenu %}
  52.             {% embed "front/partial/menu.html.twig" %}
  53.             {% endembed %}
  54.         {% endblock %}
  55.         <div class="" id="main">
  56.             {% block body %}{% endblock %}
  57.         </div>
  58.         {% block footer %}
  59.             {% embed "front/partial/footer.html.twig" %}
  60.             {% endembed %}
  61.         {% endblock %}
  62.         <script src="{{ asset('js/jquery.min.js') }}"></script>
  63.         <script src="{{ asset('js/bootstrap.bundle.min.js') }}"></script>
  64.         {% block javascripts %}
  65.         {% endblock %}
  66.     </body>
  67. </html>