var/cache/dev/twig/d3/d3d56536f3f07384e46ef4107426cded.php line 168

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. /* theme/default/partials/base.html.twig */
  15. class __TwigTemplate_3cb84f322496ff5e8ee50843daf9d986 extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->parent = false;
  24. $this->blocks = [
  25. 'stylesheets' => [$this, 'block_stylesheets'],
  26. 'custom_class' => [$this, 'block_custom_class'],
  27. 'navbar' => [$this, 'block_navbar'],
  28. 'body' => [$this, 'block_body'],
  29. 'javascripts' => [$this, 'block_javascripts'],
  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", "theme/default/partials/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", "theme/default/partials/base.html.twig"));
  39. // line 1
  40. yield "<!doctype html>
  41. <html lang=\"";
  42. // line 2
  43. 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
  44. yield "\">
  45. \t<head>
  46. \t\t<meta charset=\"utf-8\"/>
  47. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  48. \t\t<link rel=\"icon\" type=\"image/x-icon\" href=\"";
  49. // line 6
  50. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/favicon/favicon.ico"), "html", null, true);
  51. yield "\"/>
  52. \t\t<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  53. // line 7
  54. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/favicon/favicon-16x16.png"), "html", null, true);
  55. yield "\"/>
  56. \t\t<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  57. // line 8
  58. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/favicon/favicon-32x32.png"), "html", null, true);
  59. yield "\"/>
  60. \t\t";
  61. // line 10
  62. $___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  63. // line 11
  64. yield "\t\t";
  65. yield $this->extensions['Leogout\Bundle\SeoBundle\Twig\SeoExtension']->seo();
  66. yield "
  67. \t\t<meta property=\"og:locale\" content=\"fr_FR\"/>
  68. \t\t<meta property=\"og:site_name\" content=\"";
  69. // line 13
  70. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["site_parameters"] ?? null), "getParameters", [], "method", false, true, false, 13), "titre", [], "any", true, true, false, 13)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["site_parameters"] ?? null), "getParameters", [], "method", false, true, false, 13), "titre", [], "any", false, false, false, 13), "")) : ("")), "html", null, true);
  71. yield "\"/>
  72. \t\t<meta name=\"robots\" content=\"";
  73. // line 14
  74. if ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "metaindex", [], "any", false, false, false, 14) == 1)) {
  75. yield "INDEX";
  76. } else {
  77. yield "NOINDEX";
  78. }
  79. yield " , ";
  80. if ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "metafollow", [], "any", false, false, false, 14) == 1)) {
  81. yield "FOLLOW";
  82. } else {
  83. yield "NOFOLLOW";
  84. }
  85. yield "\">
  86. \t\t";
  87. return; yield '';
  88. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  89. // line 10
  90. yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
  91. // line 16
  92. yield "
  93. \t\t";
  94. // line 17
  95. $context["languages"] = $this->extensions['App\Twig\AppExtension']->LanguagesFrontFunction();
  96. // line 18
  97. yield "\t\t";
  98. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["languages"]) || array_key_exists("languages", $context) ? $context["languages"] : (function () { throw new RuntimeError('Variable "languages" does not exist.', 18, $this->source); })())) > 1)) {
  99. // line 19
  100. yield "\t\t\t";
  101. yield $this->env->getFunction('hreflang')->getCallable()();
  102. yield "
  103. \t\t";
  104. }
  105. // line 21
  106. yield "
  107. \t\t";
  108. // line 22
  109. yield $this->env->getFunction('codeHead')->getCallable()();
  110. yield "
  111. \t\t";
  112. // line 23
  113. yield $this->env->getFunction('canonicalUrl')->getCallable()();
  114. yield "
  115. \t\t";
  116. // line 24
  117. yield $this->env->getFunction('schemaOrg')->getCallable()();
  118. yield "
  119. \t\t";
  120. // line 25
  121. yield $this->env->getFunction('schemaOrgGeneral')->getCallable()();
  122. yield "
  123. \t\t";
  124. // line 27
  125. if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "codehead", [], "any", false, false, false, 27)) {
  126. // line 28
  127. yield "\t\t\t";
  128. yield CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "codehead", [], "any", false, false, false, 28);
  129. yield "
  130. \t\t";
  131. }
  132. // line 30
  133. yield "
  134. \t\t";
  135. // line 31
  136. $___internal_parse_1_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  137. // line 32
  138. yield "\t\t";
  139. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  140. // line 44
  141. yield "\t\t";
  142. return; yield '';
  143. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  144. // line 31
  145. yield Twig\Extension\CoreExtension::spaceless($___internal_parse_1_);
  146. // line 45
  147. yield "
  148. \t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js\"></script>
  149. \t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  150. \t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  151. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap\" rel=\"stylesheet\">
  152. \t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css\">
  153. \t</head>
  154. \t";
  155. // line 53
  156. $___internal_parse_2_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  157. // line 54
  158. yield "\t<body class=\"";
  159. yield from $this->unwrap()->yieldBlock('custom_class', $context, $blocks);
  160. yield "\">
  161. \t\t";
  162. // line 55
  163. yield from $this->unwrap()->yieldBlock('navbar', $context, $blocks);
  164. // line 58
  165. yield "
  166. \t\t<main>
  167. \t\t\t";
  168. // line 60
  169. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  170. // line 61
  171. yield "\t\t</main>
  172. \t\t";
  173. // line 62
  174. if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "actifwhatsapp", [], "any", false, false, false, 62)) {
  175. // line 63
  176. yield "\t\t\t<div id=\"floating-wpp\"></div>
  177. \t\t";
  178. }
  179. // line 65
  180. yield "
  181. \t\t";
  182. // line 67
  183. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::renderFooter", ["TypeMenu" => "Footer"]));
  184. yield "
  185. \t\t";
  186. // line 69
  187. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  188. // line 74
  189. yield "
  190. \t\t";
  191. // line 75
  192. yield $this->env->getFunction('codeBody')->getCallable()();
  193. yield "
  194. \t\t";
  195. // line 76
  196. if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "codebody", [], "any", false, false, false, 76)) {
  197. // line 77
  198. yield "\t\t\t";
  199. yield CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "codebody", [], "any", false, false, false, 77);
  200. yield "
  201. \t\t";
  202. }
  203. // line 79
  204. yield "\t</body>
  205. \t";
  206. return; yield '';
  207. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  208. // line 53
  209. yield Twig\Extension\CoreExtension::spaceless($___internal_parse_2_);
  210. // line 81
  211. yield "</html>
  212. ";
  213. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  214. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215. return; yield '';
  216. }
  217. // line 32
  218. public function block_stylesheets($context, array $blocks = [])
  219. {
  220. $macros = $this->macros;
  221. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  223. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  225. // line 33
  226. yield "\t\t\t";
  227. // line 34
  228. yield "\t\t\t<style>
  229. \t\t\t\t";
  230. // line 35
  231. yield Twig\Extension\CoreExtension::source($this->env, ("@PUBLIC" . "/theme.min.css"));
  232. yield "
  233. \t\t\t\t";
  234. // line 36
  235. $context['_parent'] = $context;
  236. $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("frontend"));
  237. foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  238. // line 37
  239. yield "\t\t\t\t\t";
  240. yield Twig\Extension\CoreExtension::source($this->env, ("@PUBLIC" . $context["file"]));
  241. yield "
  242. \t\t\t\t";
  243. }
  244. $_parent = $context['_parent'];
  245. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
  246. $context = array_intersect_key($context, $_parent) + $_parent;
  247. // line 39
  248. yield "\t\t\t\t";
  249. if ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "customstylecss", [], "any", false, false, false, 39) != null)) {
  250. // line 40
  251. yield "\t\t\t\t\t";
  252. yield CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\SiteConfigExtension']->ParametreSiteFunction(), "customstylecss", [], "any", false, false, false, 40);
  253. yield "
  254. \t\t\t\t";
  255. }
  256. // line 42
  257. yield "\t\t\t</style>
  258. \t\t";
  259. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  260. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  261. return; yield '';
  262. }
  263. // line 54
  264. public function block_custom_class($context, array $blocks = [])
  265. {
  266. $macros = $this->macros;
  267. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "custom_class"));
  269. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "custom_class"));
  271. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  272. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  273. return; yield '';
  274. }
  275. // line 55
  276. public function block_navbar($context, array $blocks = [])
  277. {
  278. $macros = $this->macros;
  279. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  280. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  281. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  282. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  283. // line 56
  284. yield "\t\t\t";
  285. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\FrontEnd\\FeatureController::renderMenu"));
  286. yield "
  287. \t\t";
  288. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  289. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  290. return; yield '';
  291. }
  292. // line 60
  293. public function block_body($context, array $blocks = [])
  294. {
  295. $macros = $this->macros;
  296. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  298. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  300. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  301. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  302. return; yield '';
  303. }
  304. // line 69
  305. public function block_javascripts($context, array $blocks = [])
  306. {
  307. $macros = $this->macros;
  308. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  309. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  310. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  311. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  312. // line 70
  313. yield "\t\t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js\"></script>
  314. \t\t\t";
  315. // line 71
  316. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("frontend");
  317. yield "
  318. \t\t\t";
  319. // line 72
  320. yield Twig\Extension\CoreExtension::include($this->env, $context, (("theme/" . CoreExtension::getAttribute($this->env, $this->source, 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.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "server", [], "any", false, false, false, 72), "get", ["APP_THEME"], "method", false, false, false, 72)) . "/partials/cookies/cookie.html.twig"), [], false);
  321. yield "
  322. \t\t";
  323. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  325. return; yield '';
  326. }
  327. /**
  328. * @codeCoverageIgnore
  329. */
  330. public function getTemplateName()
  331. {
  332. return "theme/default/partials/base.html.twig";
  333. }
  334. /**
  335. * @codeCoverageIgnore
  336. */
  337. public function isTraitable()
  338. {
  339. return false;
  340. }
  341. /**
  342. * @codeCoverageIgnore
  343. */
  344. public function getDebugInfo()
  345. {
  346. return array ( 369 => 72, 365 => 71, 362 => 70, 352 => 69, 333 => 60, 319 => 56, 309 => 55, 290 => 54, 278 => 42, 272 => 40, 269 => 39, 260 => 37, 256 => 36, 252 => 35, 249 => 34, 247 => 33, 237 => 32, 225 => 81, 223 => 53, 218 => 79, 212 => 77, 210 => 76, 206 => 75, 203 => 74, 201 => 69, 196 => 67, 192 => 65, 188 => 63, 186 => 62, 183 => 61, 181 => 60, 177 => 58, 175 => 55, 170 => 54, 168 => 53, 158 => 45, 156 => 31, 152 => 44, 149 => 32, 147 => 31, 144 => 30, 138 => 28, 136 => 27, 131 => 25, 127 => 24, 123 => 23, 119 => 22, 116 => 21, 110 => 19, 107 => 18, 105 => 17, 102 => 16, 100 => 10, 84 => 14, 80 => 13, 74 => 11, 72 => 10, 67 => 8, 63 => 7, 59 => 6, 52 => 2, 49 => 1,);
  347. }
  348. public function getSourceContext()
  349. {
  350. return new Source("<!doctype html>
  351. <html lang=\"{{ app.request.locale }}\">
  352. \t<head>
  353. \t\t<meta charset=\"utf-8\"/>
  354. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  355. \t\t<link rel=\"icon\" type=\"image/x-icon\" href=\"{{asset('/favicon/favicon.ico')}}\"/>
  356. \t\t<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('/favicon/favicon-16x16.png') }}\"/>
  357. \t\t<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('/favicon/favicon-32x32.png') }}\"/>
  358. \t\t{% apply spaceless %}
  359. \t\t{{ leogout_seo() }}
  360. \t\t<meta property=\"og:locale\" content=\"fr_FR\"/>
  361. \t\t<meta property=\"og:site_name\" content=\"{{site_parameters.getParameters().titre|default('')}}\"/>
  362. \t\t<meta name=\"robots\" content=\"{% if ParametreSite().metaindex == 1 %}INDEX{% else %}NOINDEX{% endif %} , {% if ParametreSite().metafollow == 1 %}FOLLOW{% else %}NOFOLLOW{% endif %}\">
  363. \t\t{% endapply %}
  364. \t\t{% set languages = LanguagesFront() %}
  365. \t\t{% if languages|length > 1 %}
  366. \t\t\t{{hreflang()|raw}}
  367. \t\t{% endif %}
  368. \t\t{{ codeHead()|raw }}
  369. \t\t{{ canonicalUrl()|raw }}
  370. \t\t{{ schemaOrg()|raw }}
  371. \t\t{{ schemaOrgGeneral()|raw }}
  372. \t\t{% if ParametreSite().codehead %}
  373. \t\t\t{{ParametreSite().codehead|raw}}
  374. \t\t{% endif %}
  375. \t\t{% apply spaceless %}
  376. \t\t{% block stylesheets %}
  377. \t\t\t{# <link rel=\"stylesheet\" href=\"{{ asset('theme.min.css') }}\"> #}
  378. \t\t\t<style>
  379. \t\t\t\t{{source('@PUBLIC' ~ '/theme.min.css')}}
  380. \t\t\t\t{% for file in encore_entry_css_files('frontend') %}
  381. \t\t\t\t\t{{source('@PUBLIC' ~ file)}}
  382. \t\t\t\t{% endfor %}
  383. \t\t\t\t{% if ParametreSite().customstylecss != null %}
  384. \t\t\t\t\t{{ParametreSite().customstylecss|raw}}
  385. \t\t\t\t{% endif %}
  386. \t\t\t</style>
  387. \t\t{% endblock %}
  388. \t\t{% endapply %}
  389. \t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js\"></script>
  390. \t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  391. \t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  392. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap\" rel=\"stylesheet\">
  393. \t\t<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css\">
  394. \t</head>
  395. \t{% apply spaceless %}
  396. \t<body class=\"{% block custom_class %}{% endblock %}\">
  397. \t\t{% block navbar %}
  398. \t\t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::renderMenu')) }}
  399. \t\t{% endblock %}
  400. \t\t<main>
  401. \t\t\t{% block body %}{% endblock %}
  402. \t\t</main>
  403. \t\t{% if ParametreSite().actifwhatsapp %}
  404. \t\t\t<div id=\"floating-wpp\"></div>
  405. \t\t{% endif %}
  406. \t\t{{ render(controller('App\\\\Controller\\\\FrontEnd\\\\FeatureController::renderFooter',{ 'TypeMenu': 'Footer' })) }}
  407. \t\t{% block javascripts %}
  408. \t\t\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js\"></script>
  409. \t\t\t{{ encore_entry_script_tags('frontend') }}
  410. \t\t\t{{ include ('theme/'~ app.request.server.get('APP_THEME') ~'/partials/cookies/cookie.html.twig',{}, with_context = false)}}
  411. \t\t{% endblock %}
  412. \t\t{{ codeBody()|raw }}
  413. \t\t{% if ParametreSite().codebody %}
  414. \t\t\t{{ParametreSite().codebody|raw}}
  415. \t\t{% endif %}
  416. \t</body>
  417. \t{% endapply %}
  418. </html>
  419. ", "theme/default/partials/base.html.twig", "/var/www/vhosts/k2klean.studiojna.fr/httpdocs/templates/theme/default/partials/base.html.twig");
  420. }
  421. }