<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* single-news-base.html.twig */
class __TwigTemplate_59f65208385646c59ad3b5bb5a349006 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'before_main' => [$this, 'block_before_main'],
'content' => [$this, 'block_content'],
'body_end' => [$this, 'block_body_end'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "single-news-base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "single-news-base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, (($__internal_compile_0 = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "_")) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
echo "\" class=\"overflow-hidden ";
if ((array_key_exists("whiteHeader", $context) && ($context["whiteHeader"] ?? null))) {
echo "force-thick-header";
}
echo "\">
\t<head>
";
// line 5
$context["domaine"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 5), "getSchemeAndHttpHost", [], "method", false, false, false, 5);
// line 6
echo "
\t\t<meta charset=\"UTF-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta property=\"og:image\" content=\"";
// line 10
echo twig_escape_filter($this->env, ($context["domaine"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "image", [], "any", false, false, false, 10), "url", [], "any", false, false, false, 10), "html", null, true);
echo "\" />
\t\t";
// line 12
$this->displayBlock('meta', $context, $blocks);
// line 20
echo "
\t\t<link rel=\"stylesheet\" href=\"/dist/fonts/stylesheet.css\"/>
\t\t<link href=\"/dist/css/common.css?v=3\" rel=\"stylesheet\">
<link href=\"/dist/css/new_css.css\" rel=\"stylesheet\">
\t\t";
// line 24
$this->loadTemplate("partials/layout/favicon.html.twig", "single-news-base.html.twig", 24)->display($context);
// line 25
echo "\t</head>
\t<body class=\"";
// line 27
echo twig_escape_filter($this->env, ($context["bodyClass"] ?? null), "html", null, true);
echo "\">
\t\t";
// line 29
$context["socials"] = [["iconId" => "facebook", "href" => ""], ["iconId" => "instagram", "href" => ""], ["iconId" => "linkedin", "href" => ""], ["iconId" => "youtube", "href" => ""]];
// line 45
echo "
\t\t";
// line 46
$this->loadTemplate("./partials/layout/preloader.html.twig", "single-news-base.html.twig", 46)->display($context);
// line 47
echo "
\t\t";
// line 48
$this->loadTemplate("partials/layout/sprite.svg.twig", "single-news-base.html.twig", 48)->display($context);
// line 49
echo "
\t\t";
// line 50
$this->loadTemplate("./partials/layout/header.html.twig", "single-news-base.html.twig", 50)->display($context);
// line 51
echo "
\t\t<div id=\"vue-root\" class=\"smooth-wrapper\">
\t\t\t<div id=\"smooth-content\">
\t\t\t\t";
// line 55
$this->displayBlock('before_main', $context, $blocks);
// line 56
echo "
\t\t\t\t";
// line 57
$this->displayBlock('content', $context, $blocks);
// line 58
echo "
\t\t\t\t";
// line 59
$this->loadTemplate("./partials/layout/footer.html.twig", "single-news-base.html.twig", 59)->display($context);
// line 60
echo "\t\t\t</div>
\t\t</div>
\t\t<div class=\"slider-cursor\">
\t\t\t<div class=\"slider-cursor-border\"></div>
\t\t\t<div class=\"slider-cursor-arrow slider-cursor-left\">
\t\t\t\t<svg viewBox=\"0 0 37 14\">
\t\t\t\t\t<use xlink:href=\"#arrow-prev\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"slider-cursor-arrow slider-cursor-right\">
\t\t\t\t<svg viewBox=\"0 0 37 14\">
\t\t\t\t\t<use xlink:href=\"#arrow-next\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t</div>
\t\t<script src=\"/dist/js/common.js?v=4\"></script>
\t\t<script>
\t\t\twindow.googleApiKey = '";
// line 81
echo twig_escape_filter($this->env, ($context["GOOGLE_API_KEY"] ?? null), "html", null, true);
echo "'
\t\t\twindow.captchaKey = '";
// line 82
echo twig_escape_filter($this->env, ($context["GOOGLE_CAPTCHA_KEY"] ?? null), "html", null, true);
echo "'
\t\t\twindow.bcimmoTranslations = {
\t\t\t\tnoResultsFound: \"";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucun résultat trouvé"), "html", null, true);
echo "\",
\t\t\t\tloading: \"";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Chargement en cours..."), "html", null, true);
echo "\",
\t\t\t\tstartTyping: \"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Commencez à écrire..."), "html", null, true);
echo "\",
\t\t\t\tapply: \"";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Valider"), "html", null, true);
echo "\"
\t\t\t}
\t\t</script>
\t\t";
// line 91
$this->displayBlock('body_end', $context, $blocks);
// line 92
echo "\t</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 13
echo "\t\t\t";
$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
($context["extension"] ?? null), "seo", [], "any", true, true, false, 14)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 14), [])) : ([])), "content" => (( // line 15
array_key_exists("content", $context)) ? (_twig_default_filter(($context["content"] ?? null), [])) : ([])), "localizations" => (( // line 16
array_key_exists("localizations", $context)) ? (_twig_default_filter(($context["localizations"] ?? null), [])) : ([])), "shadowBaseLocale" => (( // line 17
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter(($context["shadowBaseLocale"] ?? null))) : (""))]));
// line 19
echo "\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 55
public function block_before_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "before_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "before_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 57
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 91
public function block_body_end($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_end"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "single-news-base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|split('_')[0] }}\" class=\"overflow-hidden {% if whiteHeader is defined and whiteHeader %}force-thick-header{% endif %}\">
\t<head>
{% set domaine = app.request.getSchemeAndHttpHost() %}
\t\t<meta charset=\"UTF-8\">
\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta property=\"og:image\" content=\"{{ domaine }}{{ content.image.url }}\" />
\t\t{% block meta %}
\t\t\t{% include \"seo/seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
} %}
\t\t{% endblock %}
\t\t<link rel=\"stylesheet\" href=\"/dist/fonts/stylesheet.css\"/>
\t\t<link href=\"/dist/css/common.css?v=3\" rel=\"stylesheet\">
<link href=\"/dist/css/new_css.css\" rel=\"stylesheet\">
\t\t{% include 'partials/layout/favicon.html.twig' %}
\t</head>
\t<body class=\"{{bodyClass}}\">
\t\t{% set socials = [
\t\t\t{
\t\t\t\t'iconId': 'facebook',
\t\t\t\t'href': ''
\t\t\t}, {
\t\t\t\t'iconId': 'instagram',
\t\t\t\t'href': ''
\t\t\t}, {
\t\t\t\t'iconId': 'linkedin',
\t\t\t\t'href': ''
\t\t\t}, {
\t\t\t\t'iconId': 'youtube',
\t\t\t\t'href': ''
\t\t\t}
\t\t]
%}
\t\t{% include './partials/layout/preloader.html.twig' %}
\t\t{% include 'partials/layout/sprite.svg.twig' %}
\t\t{% include './partials/layout/header.html.twig' %}
\t\t<div id=\"vue-root\" class=\"smooth-wrapper\">
\t\t\t<div id=\"smooth-content\">
\t\t\t\t{% block before_main %}{% endblock %}
\t\t\t\t{% block content %}{% endblock %}
\t\t\t\t{% include './partials/layout/footer.html.twig' %}
\t\t\t</div>
\t\t</div>
\t\t<div class=\"slider-cursor\">
\t\t\t<div class=\"slider-cursor-border\"></div>
\t\t\t<div class=\"slider-cursor-arrow slider-cursor-left\">
\t\t\t\t<svg viewBox=\"0 0 37 14\">
\t\t\t\t\t<use xlink:href=\"#arrow-prev\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t\t<div class=\"slider-cursor-arrow slider-cursor-right\">
\t\t\t\t<svg viewBox=\"0 0 37 14\">
\t\t\t\t\t<use xlink:href=\"#arrow-next\"></use>
\t\t\t\t</svg>
\t\t\t</div>
\t\t</div>
\t\t<script src=\"/dist/js/common.js?v=4\"></script>
\t\t<script>
\t\t\twindow.googleApiKey = '{{ GOOGLE_API_KEY}}'
\t\t\twindow.captchaKey = '{{ GOOGLE_CAPTCHA_KEY }}'
\t\t\twindow.bcimmoTranslations = {
\t\t\t\tnoResultsFound: \"{{'Aucun résultat trouvé'|trans}}\",
\t\t\t\tloading: \"{{'Chargement en cours...'|trans}}\",
\t\t\t\tstartTyping: \"{{'Commencez à écrire...'|trans}}\",
\t\t\t\tapply: \"{{'Valider'|trans}}\"
\t\t\t}
\t\t</script>
\t\t{% block body_end %}{% endblock %}
\t</body>
</html>
", "single-news-base.html.twig", "/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/single-news-base.html.twig");
}
}