var/cache/dev/twig/08/08014e48624894a201b36c173a902521.php line 65

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* vitrine/layout.html.twig */
  16. class __TwigTemplate_5ff99e24de17a792fa86938dab497239 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. 'title' => [$this, 'block_title'],
  30. 'robots' => [$this, 'block_robots'],
  31. 'description' => [$this, 'block_description'],
  32. 'meta_social' => [$this, 'block_meta_social'],
  33. 'meta' => [$this, 'block_meta'],
  34. 'canonical' => [$this, 'block_canonical'],
  35. 'css' => [$this, 'block_css'],
  36. 'js' => [$this, 'block_js'],
  37. 'body' => [$this, 'block_body'],
  38. 'footerbody' => [$this, 'block_footerbody'],
  39. 'footer_body' => [$this, 'block_footer_body'],
  40. 'footer_js' => [$this, 'block_footer_js'],
  41. 'footerjs' => [$this, 'block_footerjs'],
  42. ];
  43. }
  44. protected function doDisplay(array $context, array $blocks = []): iterable
  45. {
  46. $macros = $this->macros;
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vitrine/layout.html.twig"));
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vitrine/layout.html.twig"));
  51. // line 1
  52. $context["connectUser"] = false;
  53. // line 2
  54. $context["connectUser2"] = false;
  55. // line 3
  56. if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "user", [], "any", false, false, false, 3))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  57. // line 4
  58. yield " ";
  59. $context["connectUser"] = true;
  60. // line 5
  61. yield " ";
  62. $context["connectUser2"] = false;
  63. }
  64. // line 7
  65. $context["pathAbsolute"] = (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "schemeAndHttpHost", [], "any", false, false, false, 7) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "requestUri", [], "any", false, false, false, 7));
  66. // line 8
  67. $context["paramTool"] = $this->extensions['App\Twig\ToolsExtension']->getCoreToolsList("blog");
  68. // line 9
  69. $context["logo"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 9, $this->source); })()), "logo", [], "array", false, false, false, 9);
  70. // line 10
  71. $context["logo_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 10, $this->source); })()), "logo_width", [], "array", false, false, false, 10);
  72. // line 11
  73. $context["logo_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 11, $this->source); })()), "logo_height", [], "array", false, false, false, 11);
  74. // line 12
  75. $context["logomobile"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 12, $this->source); })()), "logomobile", [], "array", false, false, false, 12);
  76. // line 13
  77. $context["logomobile_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 13, $this->source); })()), "logomobile_width", [], "array", false, false, false, 13);
  78. // line 14
  79. $context["logomobile_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 14, $this->source); })()), "logomobile_height", [], "array", false, false, false, 14);
  80. // line 15
  81. $context["twitter"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 15, $this->source); })()), "twitter", [], "array", false, false, false, 15);
  82. // line 16
  83. $context["facebook"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 16, $this->source); })()), "facebook", [], "array", false, false, false, 16);
  84. // line 17
  85. $context["instagram"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 17, $this->source); })()), "instagram", [], "array", false, false, false, 17);
  86. // line 18
  87. $context["youtube"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 18, $this->source); })()), "youtube", [], "array", false, false, false, 18);
  88. // line 19
  89. $context["linkedin"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 19, $this->source); })()), "linkedin", [], "array", false, false, false, 19);
  90. // line 20
  91. $context["favicon"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 20, $this->source); })()), "favicon", [], "array", false, false, false, 20);
  92. // line 21
  93. $context["websitename"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 21, $this->source); })()), "websitename", [], "array", false, false, false, 21);
  94. // line 22
  95. $context["htmlTrack"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 22, $this->source); })()), "htmltrack", [], "array", false, false, false, 22);
  96. // line 23
  97. $context["htmlTrack2"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 23, $this->source); })()), "htmltrack2", [], "array", false, false, false, 23);
  98. // line 24
  99. $context["domain"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 24, $this->source); })()), "absolute_domain", [], "array", false, false, false, 24);
  100. // line 25
  101. yield "
  102. ";
  103. // line 26
  104. $context["menuHeader"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26), "header", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 26, $this->source); })()));
  105. // line 27
  106. $context["menuHeaderRight"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), "header-right", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 27, $this->source); })()));
  107. // line 28
  108. yield "
  109. ";
  110. // line 29
  111. $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29);
  112. // line 30
  113. if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  114. // line 31
  115. yield " ";
  116. $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "user", [], "any", false, false, false, 31), "language", [], "any", false, false, false, 31);
  117. } else {
  118. // line 33
  119. yield " ";
  120. $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "session", [], "any", false, false, false, 33), "get", ["lang"], "method", false, false, false, 33);
  121. // line 34
  122. yield " ";
  123. if (Twig\Extension\CoreExtension::testEmpty((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 34, $this->source); })()))) {
  124. // line 35
  125. yield " ";
  126. $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35);
  127. // line 36
  128. yield " ";
  129. }
  130. }
  131. // line 38
  132. yield "
  133. ";
  134. // line 39
  135. $context["arrayTranslate"] = $this->extensions['App\Twig\TranslationsExtension']->getArrayTranslateLocale((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 39, $this->source); })()));
  136. // line 40
  137. yield "
  138. ";
  139. // line 41
  140. $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  141. // line 42
  142. if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "locale", [], "any", false, false, false, 42) != "en")) {
  143. // line 43
  144. yield " ";
  145. $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("locale_homepage", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43)]);
  146. }
  147. // line 45
  148. yield "
  149. <!DOCTYPE html>
  150. <html lang=\"";
  151. // line 47
  152. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47), "html", null, true);
  153. yield "\">
  154. <head>
  155. <meta charset=\"utf-8\">
  156. <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]-->
  157. <title>";
  158. // line 51
  159. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  160. yield "</title>
  161. <meta http-equiv=\"Content-Language\" content=\"";
  162. // line 52
  163. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52), "html", null, true);
  164. yield "\" />
  165. <meta name=\"language\" content=\"";
  166. // line 53
  167. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "locale", [], "any", false, false, false, 53), "html", null, true);
  168. yield "\" />
  169. <meta name=\"copyright\" content=\"";
  170. // line 54
  171. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["websitename"]) || array_key_exists("websitename", $context) ? $context["websitename"] : (function () { throw new RuntimeError('Variable "websitename" does not exist.', 54, $this->source); })()), "html", null, true);
  172. yield "\" />
  173. <meta name=\"robots\" content=\"";
  174. // line 55
  175. yield from $this->unwrap()->yieldBlock('robots', $context, $blocks);
  176. yield "\" />
  177. <meta name=\"description\" content=\"";
  178. // line 56
  179. yield from $this->unwrap()->yieldBlock('description', $context, $blocks);
  180. yield "\" />
  181. <meta name=\"viewport\" content=\"initial-scale=1.0\" />
  182. <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" />
  183. ";
  184. // line 59
  185. yield from $this->unwrap()->yieldBlock('meta_social', $context, $blocks);
  186. // line 60
  187. yield " ";
  188. yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
  189. // line 61
  190. yield " ";
  191. yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks);
  192. // line 62
  193. yield " ";
  194. // line 65
  195. yield " ";
  196. yield from $this->load("components/dns-prefetch.html.twig", 65)->unwrap()->yield($context);
  197. // line 66
  198. yield " ";
  199. yield from $this->load("components/favicon.html.twig", 66)->unwrap()->yield(CoreExtension::merge($context, ["favicon" => (isset($context["favicon"]) || array_key_exists("favicon", $context) ? $context["favicon"] : (function () { throw new RuntimeError('Variable "favicon" does not exist.', 66, $this->source); })())]));
  200. // line 67
  201. yield " ";
  202. yield from $this->load("/vitrine/components/stylesheets.html.twig", 67)->unwrap()->yield($context);
  203. // line 68
  204. yield " ";
  205. yield from $this->unwrap()->yieldBlock('css', $context, $blocks);
  206. // line 69
  207. yield " ";
  208. yield from $this->load("/vitrine/components/scripts_header.html.twig", 69)->unwrap()->yield($context);
  209. // line 70
  210. yield " ";
  211. yield from $this->unwrap()->yieldBlock('js', $context, $blocks);
  212. // line 71
  213. yield " ";
  214. yield (isset($context["htmlTrack"]) || array_key_exists("htmlTrack", $context) ? $context["htmlTrack"] : (function () { throw new RuntimeError('Variable "htmlTrack" does not exist.', 71, $this->source); })());
  215. yield "
  216. </head>
  217. <body>
  218. <div id=\"page\" class=\"page\">
  219. ";
  220. // line 75
  221. yield from $this->load("vitrine/components/header.html.twig", 75)->unwrap()->yield($context);
  222. // line 76
  223. yield " ";
  224. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  225. // line 77
  226. yield " <hr class=\"divider\">
  227. ";
  228. // line 78
  229. yield from $this->load("vitrine/components/footer.html.twig", 78)->unwrap()->yield($context);
  230. // line 79
  231. yield " </div>
  232. ";
  233. // line 80
  234. yield from $this->unwrap()->yieldBlock('footerbody', $context, $blocks);
  235. // line 81
  236. yield " ";
  237. yield from $this->unwrap()->yieldBlock('footer_body', $context, $blocks);
  238. // line 82
  239. yield " ";
  240. yield from $this->load("/vitrine/components/scripts_footer.html.twig", 82)->unwrap()->yield($context);
  241. // line 83
  242. yield " ";
  243. // line 84
  244. yield " ";
  245. yield from $this->unwrap()->yieldBlock('footer_js', $context, $blocks);
  246. // line 85
  247. yield " ";
  248. yield from $this->unwrap()->yieldBlock('footerjs', $context, $blocks);
  249. // line 86
  250. yield " ";
  251. yield (isset($context["htmlTrack2"]) || array_key_exists("htmlTrack2", $context) ? $context["htmlTrack2"] : (function () { throw new RuntimeError('Variable "htmlTrack2" does not exist.', 86, $this->source); })());
  252. yield "
  253. </body>
  254. </html>";
  255. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  256. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  257. yield from [];
  258. }
  259. // line 51
  260. /**
  261. * @return iterable<null|scalar|\Stringable>
  262. */
  263. public function block_title(array $context, array $blocks = []): iterable
  264. {
  265. $macros = $this->macros;
  266. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  267. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  268. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  269. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  270. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  271. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  272. yield from [];
  273. }
  274. // line 55
  275. /**
  276. * @return iterable<null|scalar|\Stringable>
  277. */
  278. public function block_robots(array $context, array $blocks = []): iterable
  279. {
  280. $macros = $this->macros;
  281. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  282. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots"));
  283. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  284. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots"));
  285. yield "index,follow";
  286. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  287. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  288. yield from [];
  289. }
  290. // line 56
  291. /**
  292. * @return iterable<null|scalar|\Stringable>
  293. */
  294. public function block_description(array $context, array $blocks = []): iterable
  295. {
  296. $macros = $this->macros;
  297. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  298. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  299. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  300. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  301. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  302. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  303. yield from [];
  304. }
  305. // line 59
  306. /**
  307. * @return iterable<null|scalar|\Stringable>
  308. */
  309. public function block_meta_social(array $context, array $blocks = []): iterable
  310. {
  311. $macros = $this->macros;
  312. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  313. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_social"));
  314. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  315. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_social"));
  316. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  317. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  318. yield from [];
  319. }
  320. // line 60
  321. /**
  322. * @return iterable<null|scalar|\Stringable>
  323. */
  324. public function block_meta(array $context, array $blocks = []): iterable
  325. {
  326. $macros = $this->macros;
  327. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  328. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  329. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  330. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  331. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333. yield from [];
  334. }
  335. // line 61
  336. /**
  337. * @return iterable<null|scalar|\Stringable>
  338. */
  339. public function block_canonical(array $context, array $blocks = []): iterable
  340. {
  341. $macros = $this->macros;
  342. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  344. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  346. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  347. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  348. yield from [];
  349. }
  350. // line 68
  351. /**
  352. * @return iterable<null|scalar|\Stringable>
  353. */
  354. public function block_css(array $context, array $blocks = []): iterable
  355. {
  356. $macros = $this->macros;
  357. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  358. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
  359. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  360. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
  361. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  362. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  363. yield from [];
  364. }
  365. // line 70
  366. /**
  367. * @return iterable<null|scalar|\Stringable>
  368. */
  369. public function block_js(array $context, array $blocks = []): iterable
  370. {
  371. $macros = $this->macros;
  372. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  373. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
  374. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  375. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
  376. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  377. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  378. yield from [];
  379. }
  380. // line 76
  381. /**
  382. * @return iterable<null|scalar|\Stringable>
  383. */
  384. public function block_body(array $context, array $blocks = []): iterable
  385. {
  386. $macros = $this->macros;
  387. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  388. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  389. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  390. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  391. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393. yield from [];
  394. }
  395. // line 80
  396. /**
  397. * @return iterable<null|scalar|\Stringable>
  398. */
  399. public function block_footerbody(array $context, array $blocks = []): iterable
  400. {
  401. $macros = $this->macros;
  402. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  403. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerbody"));
  404. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  405. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerbody"));
  406. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  407. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  408. yield from [];
  409. }
  410. // line 81
  411. /**
  412. * @return iterable<null|scalar|\Stringable>
  413. */
  414. public function block_footer_body(array $context, array $blocks = []): iterable
  415. {
  416. $macros = $this->macros;
  417. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_body"));
  419. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_body"));
  421. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  422. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  423. yield from [];
  424. }
  425. // line 84
  426. /**
  427. * @return iterable<null|scalar|\Stringable>
  428. */
  429. public function block_footer_js(array $context, array $blocks = []): iterable
  430. {
  431. $macros = $this->macros;
  432. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  433. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_js"));
  434. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  435. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_js"));
  436. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  437. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  438. yield from [];
  439. }
  440. // line 85
  441. /**
  442. * @return iterable<null|scalar|\Stringable>
  443. */
  444. public function block_footerjs(array $context, array $blocks = []): iterable
  445. {
  446. $macros = $this->macros;
  447. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  448. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerjs"));
  449. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  450. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerjs"));
  451. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  452. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  453. yield from [];
  454. }
  455. /**
  456. * @codeCoverageIgnore
  457. */
  458. public function getTemplateName(): string
  459. {
  460. return "vitrine/layout.html.twig";
  461. }
  462. /**
  463. * @codeCoverageIgnore
  464. */
  465. public function isTraitable(): bool
  466. {
  467. return false;
  468. }
  469. /**
  470. * @codeCoverageIgnore
  471. */
  472. public function getDebugInfo(): array
  473. {
  474. return array ( 539 => 85, 517 => 84, 495 => 81, 473 => 80, 451 => 76, 429 => 70, 407 => 68, 385 => 61, 363 => 60, 341 => 59, 319 => 56, 296 => 55, 274 => 51, 259 => 86, 256 => 85, 253 => 84, 251 => 83, 248 => 82, 245 => 81, 243 => 80, 240 => 79, 238 => 78, 235 => 77, 232 => 76, 230 => 75, 222 => 71, 219 => 70, 216 => 69, 213 => 68, 210 => 67, 207 => 66, 204 => 65, 202 => 62, 199 => 61, 196 => 60, 194 => 59, 188 => 56, 184 => 55, 180 => 54, 176 => 53, 172 => 52, 168 => 51, 161 => 47, 157 => 45, 153 => 43, 151 => 42, 149 => 41, 146 => 40, 144 => 39, 141 => 38, 137 => 36, 134 => 35, 131 => 34, 128 => 33, 124 => 31, 122 => 30, 120 => 29, 117 => 28, 115 => 27, 113 => 26, 110 => 25, 108 => 24, 106 => 23, 104 => 22, 102 => 21, 100 => 20, 98 => 19, 96 => 18, 94 => 17, 92 => 16, 90 => 15, 88 => 14, 86 => 13, 84 => 12, 82 => 11, 80 => 10, 78 => 9, 76 => 8, 74 => 7, 70 => 5, 67 => 4, 65 => 3, 63 => 2, 61 => 1,);
  475. }
  476. public function getSourceContext(): Source
  477. {
  478. return new Source("{% set connectUser = false %}
  479. {% set connectUser2 = false %}
  480. {% if app.user is not null %}
  481. {% set connectUser = true %}
  482. {% set connectUser2 = false %}
  483. {% endif %}
  484. {% set pathAbsolute = app.request.schemeAndHttpHost ~ app.request.requestUri %}
  485. {% set paramTool = getCoreToolsList(\"blog\") %}
  486. {% set logo = paramTool['logo'] %}
  487. {% set logo_width = paramTool['logo_width'] %}
  488. {% set logo_height = paramTool['logo_height'] %}
  489. {% set logomobile = paramTool['logomobile'] %}
  490. {% set logomobile_width = paramTool['logomobile_width'] %}
  491. {% set logomobile_height = paramTool['logomobile_height'] %}
  492. {% set twitter = paramTool['twitter'] %}
  493. {% set facebook = paramTool['facebook'] %}
  494. {% set instagram = paramTool['instagram'] %}
  495. {% set youtube = paramTool['youtube'] %}
  496. {% set linkedin = paramTool['linkedin'] %}
  497. {% set favicon = paramTool['favicon'] %}
  498. {% set websitename = paramTool['websitename'] %}
  499. {% set htmlTrack = paramTool['htmltrack'] %}
  500. {% set htmlTrack2 = paramTool['htmltrack2'] %}
  501. {% set domain = paramTool['absolute_domain'] %}
  502. {% set menuHeader = getMenuWebsiteArray(app.request.locale,\"header\",connectUser) %}
  503. {% set menuHeaderRight = getMenuWebsiteArray(app.request.locale,\"header-right\",connectUser) %}
  504. {% set vlang = app.request.locale %}
  505. {% if app.user is not null %}
  506. {% set vlang = app.user.language %}
  507. {% else %}
  508. {% set vlang = app.session.get('lang') %}
  509. {% if vlang is empty %}
  510. {% set vlang = app.request.locale %}
  511. {% endif %}
  512. {% endif %}
  513. {% set arrayTranslate = getArrayTranslateLocale(vlang) %}
  514. {% set pathHomepage = path('homepage') %}
  515. {% if app.request.locale != \"en\" %}
  516. {% set pathHomepage = path('locale_homepage',{'_locale':app.request.locale}) %}
  517. {% endif %}
  518. <!DOCTYPE html>
  519. <html lang=\"{{ app.request.locale }}\">
  520. <head>
  521. <meta charset=\"utf-8\">
  522. <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]-->
  523. <title>{% block title %}{% endblock title %}</title>
  524. <meta http-equiv=\"Content-Language\" content=\"{{ app.request.locale }}\" />
  525. <meta name=\"language\" content=\"{{ app.request.locale }}\" />
  526. <meta name=\"copyright\" content=\"{{ websitename }}\" />
  527. <meta name=\"robots\" content=\"{% block robots %}index,follow{% endblock robots %}\" />
  528. <meta name=\"description\" content=\"{% block description %}{% endblock description %}\" />
  529. <meta name=\"viewport\" content=\"initial-scale=1.0\" />
  530. <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" />
  531. {% block meta_social %}{% endblock meta_social %}
  532. {% block meta %}{% endblock meta %}
  533. {% block canonical %}{% endblock canonical %}
  534. {#
  535. <link rel=\"alternate\" type=\"application/rss+xml\" title=\"Articles de {{ websitename }}\" href=\"{{ url('locale_rss',{'_locale':app.request.locale}) }}\" />
  536. #}
  537. {% include \"components/dns-prefetch.html.twig\" %}
  538. {% include \"components/favicon.html.twig\" with {'favicon':favicon} %}
  539. {% include \"/vitrine/components/stylesheets.html.twig\" %}
  540. {% block css %}{% endblock css %}
  541. {% include \"/vitrine/components/scripts_header.html.twig\" %}
  542. {% block js %}{% endblock js %}
  543. {{ htmlTrack|raw }}
  544. </head>
  545. <body>
  546. <div id=\"page\" class=\"page\">
  547. {% include \"vitrine/components/header.html.twig\" %}
  548. {% block body %}{% endblock body %}
  549. <hr class=\"divider\">
  550. {% include \"vitrine/components/footer.html.twig\" %}
  551. </div>
  552. {% block footerbody %}{% endblock footerbody %}
  553. {% block footer_body %}{% endblock footer_body %}
  554. {% include \"/vitrine/components/scripts_footer.html.twig\" %}
  555. {#% include \"components/flashmessage.html.twig\" %#}
  556. {% block footer_js %}{% endblock footer_js %}
  557. {% block footerjs %}{% endblock footerjs %}
  558. {{ htmlTrack2|raw }}
  559. </body>
  560. </html>", "vitrine/layout.html.twig", "/var/www/vhosts/mirtillostudio.fr/lgm.mirtillostudio.fr/templates/vitrine/layout.html.twig");
  561. }
  562. }