var/cache/dev/twig/f1/f104421a6ce9c972538bc16bf17b97e4.php line 234

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