var/cache/dev/twig/bc/bc696afdc5b68101e17ddd83f2fcc4c699232c079a8ed5afc75c9ee6e89081b6.php line 178

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Layout/base.html.twig */
  14. class __TwigTemplate_6a8f5d8b2c6af3447901a3141570649179f582b0bdc0cdac050a2968a266f781 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'head_javascript' => [$this'block_head_javascript'],
  25.             'header' => [$this'block_header'],
  26.             'main' => [$this'block_main'],
  27.             'footer' => [$this'block_footer'],
  28.             'stylesheet' => [$this'block_stylesheet'],
  29.             'javascript' => [$this'block_javascript'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Layout/base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Layout/base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html>
  42.     <head>
  43.         ";
  44.         // line 4
  45.         $this->loadTemplate("@VisualMediaLisa/Layout/meta.html.twig""Layout/base.html.twig"4)->display($context);
  46.         // line 5
  47.         echo "
  48.         <link href=\"https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap\" rel=\"stylesheet\">
  49.         ";
  50.         // line 8
  51.         $this->displayBlock('head_javascript'$context$blocks);
  52.         // line 21
  53.         echo "    </head>
  54.     <body>
  55.         ";
  56.         // line 24
  57.         if (($this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code""cookie") != "[cookie:cookie_gtm_code]")) {
  58.             // line 25
  59.             echo "            <!-- Google Tag Manager (noscript) -->
  60.             <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  61.             // line 26
  62.             echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code""cookie"), "html"nulltrue);
  63.             echo "\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  64.             <!-- End Google Tag Manager (noscript) -->
  65.         ";
  66.         }
  67.         // line 29
  68.         echo "
  69.         <div class=\"wrapper\">
  70.             ";
  71.         // line 31
  72.         $this->displayBlock('header'$context$blocks);
  73.         // line 34
  74.         echo "
  75.             <section class=\"main\">
  76.                 ";
  77.         // line 36
  78.         $this->displayBlock('main'$context$blocks);
  79.         // line 37
  80.         echo "
  81.                 ";
  82.         // line 38
  83.         $this->displayBlock('footer'$context$blocks);
  84.         // line 41
  85.         echo "            </section>
  86.             ";
  87.         // line 43
  88.         if ($this->extensions['VisualMedia\LisaBundle\Twig\TwigBundles']->hasBundle("VisualMediaCookieBundle")) {
  89.             // line 44
  90.             echo "                ";
  91.             $this->loadTemplate("@VisualMediaCookie/Cookie/index.html.twig""Layout/base.html.twig"44)->display($context);
  92.             // line 45
  93.             echo "            ";
  94.         }
  95.         // line 46
  96.         echo "        </div>
  97.         ";
  98.         // line 48
  99.         $this->displayBlock('stylesheet'$context$blocks);
  100.         // line 51
  101.         echo "        ";
  102.         $this->displayBlock('javascript'$context$blocks);
  103.         // line 54
  104.         echo "    </body>
  105. </html>
  106. ";
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.         
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  111.     }
  112.     // line 8
  113.     public function block_head_javascript($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_javascript"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_javascript"));
  120.         // line 9
  121.         echo "            ";
  122.         if (($this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code""cookie"true) != "[cookie:cookie_gtm_code]")) {
  123.             // line 10
  124.             echo "                <!-- Google Tag Manager -->
  125.                 <script>
  126.                     (function(v,i,s,u,a,l,m,e,d,I,A){v[u]=v[u]||[];v[u].push({'gtm.start':
  127.                             new Date().getTime(),event:'gtm.js'});var f=i.getElementsByTagName(s)[0],
  128.                         j=i.createElement(s),dl=u!='dataLayer'?'&l='+u:'';j.async=true;j.src=
  129.                         'https://www.googletagmanager.com/gtm.js?id='+a+dl;f.parentNode.insertBefore(j,f);
  130.                     })(window,document,'script','dataLayer','";
  131.             // line 16
  132.             echo twig_escape_filter($this->env$this->extensions['VisualMedia\LisaBundle\Twig\TwigSetting']->setting("cookie_gtm_code""cookie"), "html"nulltrue);
  133.             echo "');
  134.                 </script>
  135.                 <!-- End Google Tag Manager -->
  136.             ";
  137.         }
  138.         // line 20
  139.         echo "        ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.     }
  145.     // line 31
  146.     public function block_header($context, array $blocks = [])
  147.     {
  148.         $macros $this->macros;
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  153.         // line 32
  154.         echo "                ";
  155.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\LisaBundle\\Controller\\LayoutController::headerAction"));
  156.         echo "
  157.             ";
  158.         
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  160.         
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  162.     }
  163.     // line 36
  164.     public function block_main($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  171.         
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  173.         
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  175.     }
  176.     // line 38
  177.     public function block_footer($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  184.         // line 39
  185.         echo "                    ";
  186.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\LisaBundle\\Controller\\LayoutController::footerAction"));
  187.         echo "
  188.                 ";
  189.         
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  191.         
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  193.     }
  194.     // line 48
  195.     public function block_stylesheet($context, array $blocks = [])
  196.     {
  197.         $macros $this->macros;
  198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  202.         // line 49
  203.         echo "            ";
  204.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  205.         echo "
  206.         ";
  207.         
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  209.         
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  211.     }
  212.     // line 51
  213.     public function block_javascript($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  220.         // line 52
  221.         echo "            ";
  222.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  223.         echo "
  224.         ";
  225.         
  226.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  227.         
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  229.     }
  230.     public function getTemplateName()
  231.     {
  232.         return "Layout/base.html.twig";
  233.     }
  234.     public function isTraitable()
  235.     {
  236.         return false;
  237.     }
  238.     public function getDebugInfo()
  239.     {
  240.         return array (  264 => 52,  254 => 51,  241 => 49,  231 => 48,  218 => 39,  208 => 38,  190 => 36,  177 => 32,  167 => 31,  157 => 20,  150 => 16,  142 => 10,  139 => 9,  129 => 8,  117 => 54,  114 => 51,  112 => 48,  108 => 46,  105 => 45,  102 => 44,  100 => 43,  96 => 41,  94 => 38,  91 => 37,  89 => 36,  85 => 34,  83 => 31,  79 => 29,  73 => 26,  70 => 25,  68 => 24,  63 => 21,  61 => 8,  56 => 5,  54 => 4,  49 => 1,);
  241.     }
  242.     public function getSourceContext()
  243.     {
  244.         return new Source("<!DOCTYPE html>
  245. <html>
  246.     <head>
  247.         {% include '@VisualMediaLisa/Layout/meta.html.twig' %}
  248.         <link href=\"https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap\" rel=\"stylesheet\">
  249.         {% block head_javascript %}
  250.             {% if setting('cookie_gtm_code', 'cookie', true) != '[cookie:cookie_gtm_code]' %}
  251.                 <!-- Google Tag Manager -->
  252.                 <script>
  253.                     (function(v,i,s,u,a,l,m,e,d,I,A){v[u]=v[u]||[];v[u].push({'gtm.start':
  254.                             new Date().getTime(),event:'gtm.js'});var f=i.getElementsByTagName(s)[0],
  255.                         j=i.createElement(s),dl=u!='dataLayer'?'&l='+u:'';j.async=true;j.src=
  256.                         'https://www.googletagmanager.com/gtm.js?id='+a+dl;f.parentNode.insertBefore(j,f);
  257.                     })(window,document,'script','dataLayer','{{ setting('cookie_gtm_code', 'cookie') }}');
  258.                 </script>
  259.                 <!-- End Google Tag Manager -->
  260.             {% endif %}
  261.         {% endblock %}
  262.     </head>
  263.     <body>
  264.         {% if setting('cookie_gtm_code', 'cookie') != '[cookie:cookie_gtm_code]' %}
  265.             <!-- Google Tag Manager (noscript) -->
  266.             <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ setting('cookie_gtm_code', 'cookie') }}\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  267.             <!-- End Google Tag Manager (noscript) -->
  268.         {% endif %}
  269.         <div class=\"wrapper\">
  270.             {% block header %}
  271.                 {{ render(controller('VisualMedia\\\\LisaBundle\\\\Controller\\\\LayoutController::headerAction')) }}
  272.             {% endblock %}
  273.             <section class=\"main\">
  274.                 {% block main %}{% endblock %}
  275.                 {% block footer %}
  276.                     {{ render(controller('VisualMedia\\\\LisaBundle\\\\Controller\\\\LayoutController::footerAction')) }}
  277.                 {% endblock %}
  278.             </section>
  279.             {% if hasBundle('VisualMediaCookieBundle') %}
  280.                 {% include '@VisualMediaCookie/Cookie/index.html.twig' %}
  281.             {% endif %}
  282.         </div>
  283.         {% block stylesheet %}
  284.             {{ encore_entry_link_tags('app') }}
  285.         {% endblock %}
  286.         {% block javascript %}
  287.             {{ encore_entry_script_tags('app') }}
  288.         {% endblock %}
  289.     </body>
  290. </html>
  291. ""Layout/base.html.twig""/home/components/public_html/templates/Layout/base.html.twig");
  292.     }
  293. }