var/cache/website/dev/twig/e4/e47c32220d9f0143a9d502615767fcc9.php line 108

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. /* single-news-base.html.twig */
  14. class __TwigTemplate_59f65208385646c59ad3b5bb5a349006 extends 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.             'meta' => [$this'block_meta'],
  25.             'before_main' => [$this'block_before_main'],
  26.             'content' => [$this'block_content'],
  27.             'body_end' => [$this'block_body_end'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""single-news-base.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""single-news-base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html lang=\"";
  40.         // line 2
  41.         echo twig_escape_filter($this->env, (($__internal_compile_0 twig_split_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "_")) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html"nulltrue);
  42.         echo "\" class=\"overflow-hidden ";
  43.         if ((array_key_exists("whiteHeader"$context) && ($context["whiteHeader"] ?? null))) {
  44.             echo "force-thick-header";
  45.         }
  46.         echo "\">
  47. \t<head>
  48.     ";
  49.         // line 5
  50.         $context["domaine"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "getSchemeAndHttpHost", [], "method"falsefalsefalse5);
  51.         // line 6
  52.         echo "     
  53. \t\t<meta charset=\"UTF-8\">
  54. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  55. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  56.         <meta property=\"og:image\" content=\"";
  57.         // line 10
  58.         echo twig_escape_filter($this->env, ($context["domaine"] ?? null), "html"nulltrue);
  59.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["content"] ?? null), "image", [], "any"falsefalsefalse10), "url", [], "any"falsefalsefalse10), "html"nulltrue);
  60.         echo "\" />
  61. \t\t";
  62.         // line 12
  63.         $this->displayBlock('meta'$context$blocks);
  64.         // line 20
  65.         echo "
  66. \t\t<link rel=\"stylesheet\" href=\"/dist/fonts/stylesheet.css\"/>
  67. \t\t<link href=\"/dist/css/common.css?v=3\" rel=\"stylesheet\">
  68.                 <link href=\"/dist/css/new_css.css\" rel=\"stylesheet\">
  69. \t\t";
  70.         // line 24
  71.         $this->loadTemplate("partials/layout/favicon.html.twig""single-news-base.html.twig"24)->display($context);
  72.         // line 25
  73.         echo "\t</head>
  74. \t<body class=\"";
  75.         // line 27
  76.         echo twig_escape_filter($this->env, ($context["bodyClass"] ?? null), "html"nulltrue);
  77.         echo "\">
  78. \t\t";
  79.         // line 29
  80.         $context["socials"] = [["iconId" => "facebook""href" => ""], ["iconId" => "instagram""href" => ""], ["iconId" => "linkedin""href" => ""], ["iconId" => "youtube""href" => ""]];
  81.         // line 45
  82.         echo "
  83. \t\t";
  84.         // line 46
  85.         $this->loadTemplate("./partials/layout/preloader.html.twig""single-news-base.html.twig"46)->display($context);
  86.         // line 47
  87.         echo "
  88. \t\t";
  89.         // line 48
  90.         $this->loadTemplate("partials/layout/sprite.svg.twig""single-news-base.html.twig"48)->display($context);
  91.         // line 49
  92.         echo "
  93. \t\t";
  94.         // line 50
  95.         $this->loadTemplate("./partials/layout/header.html.twig""single-news-base.html.twig"50)->display($context);
  96.         // line 51
  97.         echo "
  98. \t\t<div id=\"vue-root\" class=\"smooth-wrapper\">
  99. \t\t\t<div id=\"smooth-content\">
  100. \t\t\t\t";
  101.         // line 55
  102.         $this->displayBlock('before_main'$context$blocks);
  103.         // line 56
  104.         echo "
  105. \t\t\t\t";
  106.         // line 57
  107.         $this->displayBlock('content'$context$blocks);
  108.         // line 58
  109.         echo "
  110. \t\t\t\t";
  111.         // line 59
  112.         $this->loadTemplate("./partials/layout/footer.html.twig""single-news-base.html.twig"59)->display($context);
  113.         // line 60
  114.         echo "\t\t\t</div>
  115. \t\t</div>
  116. \t\t<div class=\"slider-cursor\">
  117. \t\t\t<div class=\"slider-cursor-border\"></div>
  118. \t\t\t<div class=\"slider-cursor-arrow slider-cursor-left\">
  119. \t\t\t\t<svg viewBox=\"0 0 37 14\">
  120. \t\t\t\t\t<use xlink:href=\"#arrow-prev\"></use>
  121. \t\t\t\t</svg>
  122. \t\t\t</div>
  123. \t\t\t<div class=\"slider-cursor-arrow slider-cursor-right\">
  124. \t\t\t\t<svg viewBox=\"0 0 37 14\">
  125. \t\t\t\t\t<use xlink:href=\"#arrow-next\"></use>
  126. \t\t\t\t</svg>
  127. \t\t\t</div>
  128. \t\t</div>
  129. \t\t<script src=\"/dist/js/common.js?v=4\"></script>
  130. \t\t<script>
  131. \t\t\twindow.googleApiKey = '";
  132.         // line 81
  133.         echo twig_escape_filter($this->env, ($context["GOOGLE_API_KEY"] ?? null), "html"nulltrue);
  134.         echo "'
  135. \t\t\twindow.captchaKey = '";
  136.         // line 82
  137.         echo twig_escape_filter($this->env, ($context["GOOGLE_CAPTCHA_KEY"] ?? null), "html"nulltrue);
  138.         echo "'
  139. \t\t\twindow.bcimmoTranslations = {
  140. \t\t\t\tnoResultsFound: \"";
  141.         // line 84
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucun résultat trouvé"), "html"nulltrue);
  143.         echo "\",
  144. \t\t\t\tloading: \"";
  145.         // line 85
  146.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chargement en cours..."), "html"nulltrue);
  147.         echo "\",
  148. \t\t\t\tstartTyping: \"";
  149.         // line 86
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Commencez à écrire..."), "html"nulltrue);
  151.         echo "\",
  152. \t\t\t\tapply: \"";
  153.         // line 87
  154.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Valider"), "html"nulltrue);
  155.         echo "\"
  156. \t\t\t}
  157. \t\t</script>
  158. \t\t";
  159.         // line 91
  160.         $this->displayBlock('body_end'$context$blocks);
  161.         // line 92
  162.         echo "\t</body>
  163. </html>
  164. ";
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.     }
  170.     // line 12
  171.     public function block_meta($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  178.         // line 13
  179.         echo "\t\t\t";
  180.         $this->loadTemplate("seo/seo.html.twig""single-news-base.html.twig"13)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env$this->source,         // line 14
  181. ($context["extension"] ?? null), "seo", [], "any"truetruefalse14)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse14), [])) : ([])), "content" => ((        // line 15
  182. array_key_exists("content"$context)) ? (_twig_default_filter(($context["content"] ?? null), [])) : ([])), "localizations" => ((        // line 16
  183. array_key_exists("localizations"$context)) ? (_twig_default_filter(($context["localizations"] ?? null), [])) : ([])), "shadowBaseLocale" => ((        // line 17
  184. array_key_exists("shadowBaseLocale"$context)) ? (_twig_default_filter(($context["shadowBaseLocale"] ?? null))) : (""))]));
  185.         // line 19
  186.         echo "\t\t";
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     // line 55
  193.     public function block_before_main($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""before_main"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""before_main"));
  200.         
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  202.         
  203.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  204.     }
  205.     // line 57
  206.     public function block_content($context, array $blocks = [])
  207.     {
  208.         $macros $this->macros;
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  213.         
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215.         
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  217.     }
  218.     // line 91
  219.     public function block_body_end($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_end"));
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_end"));
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.     }
  231.     public function getTemplateName()
  232.     {
  233.         return "single-news-base.html.twig";
  234.     }
  235.     public function isTraitable()
  236.     {
  237.         return false;
  238.     }
  239.     public function getDebugInfo()
  240.     {
  241.         return array (  256 => 91,  238 => 57,  220 => 55,  210 => 19,  208 => 17,  207 => 16,  206 => 15,  205 => 14,  203 => 13,  193 => 12,  181 => 92,  179 => 91,  172 => 87,  168 => 86,  164 => 85,  160 => 84,  155 => 82,  151 => 81,  128 => 60,  126 => 59,  123 => 58,  121 => 57,  118 => 56,  116 => 55,  110 => 51,  108 => 50,  105 => 49,  103 => 48,  100 => 47,  98 => 46,  95 => 45,  93 => 29,  88 => 27,  84 => 25,  82 => 24,  76 => 20,  74 => 12,  68 => 10,  62 => 6,  60 => 5,  50 => 2,  47 => 1,);
  242.     }
  243.     public function getSourceContext()
  244.     {
  245.         return new Source("<!DOCTYPE html>
  246. <html lang=\"{{ app.request.locale|split('_')[0] }}\" class=\"overflow-hidden {% if whiteHeader is defined and whiteHeader %}force-thick-header{% endif %}\">
  247. \t<head>
  248.     {% set domaine = app.request.getSchemeAndHttpHost() %}
  249.      
  250. \t\t<meta charset=\"UTF-8\">
  251. \t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  252. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  253.         <meta property=\"og:image\" content=\"{{ domaine }}{{ content.image.url }}\" />
  254. \t\t{% block meta %}
  255. \t\t\t{% include \"seo/seo.html.twig\" with {
  256.             \"seo\": extension.seo|default([]),
  257.             \"content\": content|default([]),
  258.             \"localizations\": localizations|default([]),
  259.             \"shadowBaseLocale\": shadowBaseLocale|default(),
  260.         } %}
  261. \t\t{% endblock %}
  262. \t\t<link rel=\"stylesheet\" href=\"/dist/fonts/stylesheet.css\"/>
  263. \t\t<link href=\"/dist/css/common.css?v=3\" rel=\"stylesheet\">
  264.                 <link href=\"/dist/css/new_css.css\" rel=\"stylesheet\">
  265. \t\t{% include 'partials/layout/favicon.html.twig' %}
  266. \t</head>
  267. \t<body class=\"{{bodyClass}}\">
  268. \t\t{% set socials = [
  269. \t\t\t{
  270. \t\t\t\t'iconId': 'facebook',
  271. \t\t\t\t'href': ''
  272. \t\t\t}, {
  273. \t\t\t\t'iconId': 'instagram',
  274. \t\t\t\t'href': ''
  275. \t\t\t}, {
  276. \t\t\t\t'iconId': 'linkedin',
  277. \t\t\t\t'href': ''
  278. \t\t\t}, {
  279. \t\t\t\t'iconId': 'youtube',
  280. \t\t\t\t'href': ''
  281. \t\t\t}
  282. \t\t]
  283.  %}
  284. \t\t{% include './partials/layout/preloader.html.twig' %}
  285. \t\t{% include 'partials/layout/sprite.svg.twig' %}
  286. \t\t{% include './partials/layout/header.html.twig' %}
  287. \t\t<div id=\"vue-root\" class=\"smooth-wrapper\">
  288. \t\t\t<div id=\"smooth-content\">
  289. \t\t\t\t{% block before_main %}{% endblock %}
  290. \t\t\t\t{% block content %}{% endblock %}
  291. \t\t\t\t{% include './partials/layout/footer.html.twig' %}
  292. \t\t\t</div>
  293. \t\t</div>
  294. \t\t<div class=\"slider-cursor\">
  295. \t\t\t<div class=\"slider-cursor-border\"></div>
  296. \t\t\t<div class=\"slider-cursor-arrow slider-cursor-left\">
  297. \t\t\t\t<svg viewBox=\"0 0 37 14\">
  298. \t\t\t\t\t<use xlink:href=\"#arrow-prev\"></use>
  299. \t\t\t\t</svg>
  300. \t\t\t</div>
  301. \t\t\t<div class=\"slider-cursor-arrow slider-cursor-right\">
  302. \t\t\t\t<svg viewBox=\"0 0 37 14\">
  303. \t\t\t\t\t<use xlink:href=\"#arrow-next\"></use>
  304. \t\t\t\t</svg>
  305. \t\t\t</div>
  306. \t\t</div>
  307. \t\t<script src=\"/dist/js/common.js?v=4\"></script>
  308. \t\t<script>
  309. \t\t\twindow.googleApiKey = '{{ GOOGLE_API_KEY}}'
  310. \t\t\twindow.captchaKey = '{{ GOOGLE_CAPTCHA_KEY }}'
  311. \t\t\twindow.bcimmoTranslations = {
  312. \t\t\t\tnoResultsFound: \"{{'Aucun résultat trouvé'|trans}}\",
  313. \t\t\t\tloading: \"{{'Chargement en cours...'|trans}}\",
  314. \t\t\t\tstartTyping: \"{{'Commencez à écrire...'|trans}}\",
  315. \t\t\t\tapply: \"{{'Valider'|trans}}\"
  316. \t\t\t}
  317. \t\t</script>
  318. \t\t{% block body_end %}{% endblock %}
  319. \t</body>
  320. </html>
  321. ""single-news-base.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/single-news-base.html.twig");
  322.     }
  323. }