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

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