var/cache/dev/twig/3a/3a6ddbfda1c6dbd559881f014b52374238fbf0dfde27f51181050702c04d1bce.php line 51

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. /* base.html.twig */
  14. class __TwigTemplate_c04ea0871e3e3ae37273cce95cf3fb4ddb89fe977da6f77379c4ab208aff7d5c 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.             'metaTags' => [$this'block_metaTags'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body_tag' => [$this'block_body_tag'],
  27.             'flash' => [$this'block_flash'],
  28.             'navbar' => [$this'block_navbar'],
  29.             'body' => [$this'block_body'],
  30.             'footer' => [$this'block_footer'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  41.         // line 1
  42.         $context["page"] = $this->extensions['App\Service\AppService']->getPage(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "attributes", [], "any"falsefalsefalse1), "get", [=> "_controller"], "method"falsefalsefalse1));
  43.         // line 2
  44.         echo "<!DOCTYPE html>
  45. <html lang=\"";
  46.         // line 3
  47.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), "html"nulltrue);
  48.         echo "\">
  49.     <head>
  50.         <meta charset=\"UTF-8\">
  51.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  52.         <link type=\"image/png\"  rel=\"icon\"
  53.               href=\"";
  54.         // line 8
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icone.png"), "html"nulltrue);
  56.         echo "\">
  57.         ";
  58.         // line 15
  59.         echo "        ";
  60.         // line 16
  61.         echo "        <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/apple-touch-icon.png"), "html"nulltrue);
  63.         echo "\">
  64.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  65.         // line 17
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-32x32.png"), "html"nulltrue);
  67.         echo "\">
  68.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  69.         // line 18
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-16x16.png"), "html"nulltrue);
  71.         echo "\">
  72.         <link rel=\"manifest\" href=\"";
  73.         // line 19
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/site.webmanifest"), "html"nulltrue);
  75.         echo "\">
  76.         <link rel=\"mask-icon\" href=\"";
  77.         // line 20
  78.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/safari-pinned-tab.svg"), "html"nulltrue);
  79.         echo "\" color=\"#15683A\">
  80.         <meta name=\"msapplication-TileColor\" content=\"#15683A\">
  81.         ";
  82.         // line 22
  83.         $this->displayBlock('metaTags'$context$blocks);
  84.         // line 33
  85.         echo "        ";
  86.         $context["metaColor"] = $this->extensions['App\Service\AppService']->getMetaColor();
  87.         // line 34
  88.         echo "        ";
  89.         if ((isset($context["metaColor"]) || array_key_exists("metaColor"$context) ? $context["metaColor"] : (function () { throw new RuntimeError('Variable "metaColor" does not exist.'34$this->source); })())) {
  90.             // line 35
  91.             echo "            <meta name=\"theme-color\" content=\"";
  92.             echo twig_escape_filter($this->env$this->extensions['App\Service\AppService']->getMetaColor(), "html"nulltrue);
  93.             echo "\">
  94.         ";
  95.         }
  96.         // line 37
  97.         echo "        ";
  98.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  99.         echo "
  100.         ";
  101.         // line 38
  102.         $this->displayBlock('stylesheets'$context$blocks);
  103.         // line 40
  104.         echo "        ";
  105.         $context["googleAnalytic"] = $this->extensions['App\Service\AppService']->getGoogleAnalytic();
  106.         // line 41
  107.         echo "        ";
  108.         if ((isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic"$context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.'41$this->source); })())) {
  109.             // line 42
  110.             echo "            <!-- Google tag (gtag.js) -->
  111.             <script async src=\"https://www.googletagmanager.com/gtag/js?id=";
  112.             // line 43
  113.             echo twig_escape_filter($this->env, (isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic"$context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.'43$this->source); })()), "html"nulltrue);
  114.             echo "\"></script>
  115.             <script>
  116.                 window.dataLayer = window.dataLayer || [];
  117.                 function gtag() {
  118.                     dataLayer.push(arguments);
  119.                 }
  120.                 gtag('js', new Date());
  121.                 gtag('config', '";
  122.             // line 54
  123.             echo twig_escape_filter($this->env, (isset($context["googleAnalytic"]) || array_key_exists("googleAnalytic"$context) ? $context["googleAnalytic"] : (function () { throw new RuntimeError('Variable "googleAnalytic" does not exist.'54$this->source); })()), "html"nulltrue);
  124.             echo "');
  125.             </script>
  126.         ";
  127.         }
  128.         // line 57
  129.         echo "        ";
  130.         $context["googleSearchConsole"] = $this->extensions['App\Service\AppService']->getGoogleSearchConsole();
  131.         // line 58
  132.         echo "        ";
  133.         if ((isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole"$context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.'58$this->source); })())) {
  134.             // line 59
  135.             echo "            <meta name=\"google-site-verification\" content=\"";
  136.             echo twig_escape_filter($this->env, (isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole"$context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.'59$this->source); })()), "html"nulltrue);
  137.             echo "\"/>
  138.         ";
  139.         }
  140.         // line 61
  141.         echo "        <link rel=\"stylesheet\" href=\"";
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.css"), "html"nulltrue);
  143.         echo "\">
  144.         <script type=\"text/javascript\" src=\"";
  145.         // line 62
  146.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.js"), "html"nulltrue);
  147.         echo "\"></script>
  148.         <link rel=\"stylesheet\" href=\"";
  149.         // line 63
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.css"), "html"nulltrue);
  151.         echo "\">
  152.     </head>
  153.     <body data-navbar-search-url=\"";
  154.         // line 65
  155.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_navbar_search");
  156.         echo "\" ";
  157.         $this->displayBlock('body_tag'$context$blocks);
  158.         echo ">
  159.         <div class=\"wrapper\">
  160.             ";
  161.         // line 67
  162.         $this->displayBlock('flash'$context$blocks);
  163.         // line 95
  164.         echo "            ";
  165.         $this->displayBlock('navbar'$context$blocks);
  166.         // line 113
  167.         echo "        ";
  168.         $this->displayBlock('body'$context$blocks);
  169.         // line 114
  170.         echo "        ";
  171.         $this->displayBlock('footer'$context$blocks);
  172.         // line 117
  173.         echo "        <div class=\"position-fixed b-20 r-20 pointer scrollToTopDiv scrollToTop bgc-white pa-12\">
  174.             <i class=\"fa-light fa-arrow-up-to-line fs-25 c-15683A\"></i>
  175.         </div>
  176.     </div>
  177.     ";
  178.         // line 121
  179.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  180.         echo "
  181.     <script type=\"text/javascript\" src=\"";
  182.         // line 122
  183.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.js"), "html"nulltrue);
  184.         echo "\"></script>
  185.     <script>
  186.         AOS.init({
  187.             once: true,
  188.         });
  189.     </script>
  190.     <script type=\"text/javascript\" src=\"";
  191.         // line 128
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/cookieconsent/cookie-consent.js"), "html"nulltrue);
  193.         echo "\"></script>
  194.     <script type=\"text/javascript\">
  195.         document.addEventListener('DOMContentLoaded', function () {
  196.             cookieconsent.run({
  197.                 \"notice_banner_type\": \"simple\",
  198.                 \"consent_type\": \"implied\",
  199.                 \"palette\": \"light\",
  200.                 \"language\": \"fr\",
  201.                 \"website_name\": \"";
  202.         // line 136
  203.         echo twig_escape_filter($this->env, (isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'136$this->source); })()), "html"nulltrue);
  204.         echo "\",
  205.                 \"change_preferences_selector\": \"#changePreferences\"
  206.             });
  207.         });
  208.     </script>
  209.     <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  210.     ";
  211.         // line 142
  212.         $this->displayBlock('javascripts'$context$blocks);
  213.         // line 144
  214.         echo "</body>
  215. </html>
  216. ";
  217.         
  218.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.     }
  222.     // line 22
  223.     public function block_metaTags($context, array $blocks = [])
  224.     {
  225.         $macros $this->macros;
  226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTags"));
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTags"));
  230.         // line 23
  231.         echo "            <meta name=\"description\" content=\"";
  232.         (((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })())) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "metaDescription", [], "any"falsefalsefalse23), "html"nulltrue))) : (print ("Concepteur et fabricant de machines pour abattoir.")));
  233.         echo "\">
  234.             <title>";
  235.         // line 24
  236.         echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'24$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'24$this->source); })()), "metaTitle", [], "any"falsefalsefalse24)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'24$this->source); })()))), "html"nulltrue);
  237.         echo "</title>
  238.             <meta property=\"og:type\" content=\"website\">
  239.             <meta property=\"og:site_name\" content=\"FACOMIA\">
  240.             <meta property=\"og:url\" content=\"";
  241.         // line 27
  242.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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"falsefalsefalse27), "uri", [], "any"falsefalsefalse27), "html"nulltrue);
  243.         echo "\">
  244.             <meta property=\"og:image\" content=\"";
  245.         // line 28
  246.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-ogg.jpg"), "html"nulltrue);
  247.         echo "\">
  248.             <meta property=\"og:title\" content=\"";
  249.         // line 29
  250.         (((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'29$this->source); })())) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'29$this->source); })()), "metaTitle", [], "any"falsefalsefalse29), "html"nulltrue))) : (print ("FACOMIA - Le pionnier des constructeurs français de machines pour abattoir")));
  251.         echo "\">
  252.             <meta property=\"og:description\" content=\"";
  253.         // line 30
  254.         (((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'30$this->source); })())) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'30$this->source); })()), "metaDescription", [], "any"falsefalsefalse30), "html"nulltrue))) : (print ("Concepteur et fabricant de machines pour abattoir.")));
  255.         echo "\">
  256.         ";
  257.         
  258.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  259.         
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  261.     }
  262.     // line 38
  263.     public function block_stylesheets($context, array $blocks = [])
  264.     {
  265.         $macros $this->macros;
  266.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  267.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  268.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  270.         // line 39
  271.         echo "        ";
  272.         
  273.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  274.         
  275.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  276.     }
  277.     // line 65
  278.     public function block_body_tag($context, array $blocks = [])
  279.     {
  280.         $macros $this->macros;
  281.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  282.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_tag"));
  283.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_tag"));
  285.         
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  287.         
  288.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  289.     }
  290.     // line 67
  291.     public function block_flash($context, array $blocks = [])
  292.     {
  293.         $macros $this->macros;
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash"));
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  297.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash"));
  298.         // line 68
  299.         echo "                ";
  300.         $context['_parent'] = $context;
  301.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'68$this->source); })()), "flashes", [], "any"falsefalsefalse68));
  302.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  303.             // line 69
  304.             echo "                    ";
  305.             $context['_parent'] = $context;
  306.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  307.             foreach ($context['_seq'] as $context["key"] => $context["message"]) {
  308.                 // line 70
  309.                 echo "                        <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
  310.                              aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
  311.                             <div class=\"modal-dialog\" role=\"document\">
  312.                                 <div class=\"modal-content\">
  313.                                     <div class=\"modal-body\">
  314.                                         <div class=\"text-right\">
  315.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  316.                                                 <span aria-hidden=\"true\">&times;</span>
  317.                                             </button>
  318.                                         </div>
  319.                                         <div>
  320.                                             ";
  321.                 // line 81
  322.                 if ((=== twig_compare($context["label"], "success"))) {
  323.                     // line 82
  324.                     echo "                                                <i class=\"fa fa-check text-success\"></i>
  325.                                             ";
  326.                 } else {
  327.                     // line 84
  328.                     echo "                                                <i class=\"fa fa-warning text-danger\"></i>
  329.                                             ";
  330.                 }
  331.                 // line 86
  332.                 echo "                                            ";
  333.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]);
  334.                 echo "
  335.                                         </div>
  336.                                     </div>
  337.                                 </div>
  338.                             </div>
  339.                         </div>
  340.                     ";
  341.             }
  342.             $_parent $context['_parent'];
  343.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['message'], $context['_parent'], $context['loop']);
  344.             $context array_intersect_key($context$_parent) + $_parent;
  345.             // line 93
  346.             echo "                ";
  347.         }
  348.         $_parent $context['_parent'];
  349.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  350.         $context array_intersect_key($context$_parent) + $_parent;
  351.         // line 94
  352.         echo "            ";
  353.         
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  355.         
  356.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  357.     }
  358.     // line 95
  359.     public function block_navbar($context, array $blocks = [])
  360.     {
  361.         $macros $this->macros;
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  363.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  364.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  365.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  366.         // line 96
  367.         echo "                ";
  368.         // line 105
  369.         echo "                <div class=\"d-none d-lg-block\">
  370.                     ";
  371.         // line 106
  372.         $this->loadTemplate("commons/navbar.html.twig""base.html.twig"106)->display($context);
  373.         // line 107
  374.         echo "                </div>
  375.                 <div class=\"d-block d-lg-none\">
  376.                     ";
  377.         // line 109
  378.         $this->loadTemplate("commons/navbarMobile.html.twig""base.html.twig"109)->display($context);
  379.         // line 110
  380.         echo "                </div>
  381.                 ";
  382.         // line 112
  383.         echo "            ";
  384.         
  385.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  386.         
  387.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  388.     }
  389.     // line 113
  390.     public function block_body($context, array $blocks = [])
  391.     {
  392.         $macros $this->macros;
  393.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  394.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  395.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  396.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  397.         
  398.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  399.         
  400.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  401.     }
  402.     // line 114
  403.     public function block_footer($context, array $blocks = [])
  404.     {
  405.         $macros $this->macros;
  406.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  407.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  408.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  410.         // line 115
  411.         echo "            ";
  412.         $this->loadTemplate("front/footer.html.twig""base.html.twig"115)->display($context);
  413.         // line 116
  414.         echo "        ";
  415.         
  416.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  417.         
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  419.     }
  420.     // line 142
  421.     public function block_javascripts($context, array $blocks = [])
  422.     {
  423.         $macros $this->macros;
  424.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  425.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  426.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  427.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  428.         // line 143
  429.         echo "    ";
  430.         
  431.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  432.         
  433.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  434.     }
  435.     public function getTemplateName()
  436.     {
  437.         return "base.html.twig";
  438.     }
  439.     public function isTraitable()
  440.     {
  441.         return false;
  442.     }
  443.     public function getDebugInfo()
  444.     {
  445.         return array (  483 => 143,  473 => 142,  463 => 116,  460 => 115,  450 => 114,  432 => 113,  422 => 112,  419 => 110,  417 => 109,  413 => 107,  411 => 106,  408 => 105,  406 => 96,  396 => 95,  386 => 94,  380 => 93,  366 => 86,  362 => 84,  358 => 82,  356 => 81,  343 => 70,  338 => 69,  333 => 68,  323 => 67,  305 => 65,  295 => 39,  285 => 38,  272 => 30,  268 => 29,  264 => 28,  260 => 27,  254 => 24,  249 => 23,  239 => 22,  227 => 144,  225 => 142,  216 => 136,  205 => 128,  196 => 122,  192 => 121,  186 => 117,  183 => 114,  180 => 113,  177 => 95,  175 => 67,  168 => 65,  163 => 63,  159 => 62,  154 => 61,  148 => 59,  145 => 58,  142 => 57,  136 => 54,  122 => 43,  119 => 42,  116 => 41,  113 => 40,  111 => 38,  106 => 37,  100 => 35,  97 => 34,  94 => 33,  92 => 22,  87 => 20,  83 => 19,  79 => 18,  75 => 17,  70 => 16,  68 => 15,  64 => 8,  56 => 3,  53 => 2,  51 => 1,);
  446.     }
  447.     public function getSourceContext()
  448.     {
  449.         return new Source("{% set page = getPage(app.request.attributes.get(\"_controller\")) %}
  450. <!DOCTYPE html>
  451. <html lang=\"{{ app.request.locale }}\">
  452.     <head>
  453.         <meta charset=\"UTF-8\">
  454.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  455.         <link type=\"image/png\"  rel=\"icon\"
  456.               href=\"{{ asset('assets/img/icone.png') }}\">
  457.         {#        <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">

  458.                 <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">

  459.                 <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">

  460.                 <link rel=\"manifest\" href=\"/site.webmanifest\">
  461. 
<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#15683A\">
  462. 
<meta name=\"msapplication-TileColor\" content=\"#15683A\">#}
  463.         {#    <a href=\"{{path('name')}}\"></a>#}
  464.         <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('assets/img/apple-touch-icon.png') }}\">
  465.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('assets/img/favicon-32x32.png') }}\">
  466.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('assets/img/favicon-16x16.png') }}\">
  467.         <link rel=\"manifest\" href=\"{{ asset('assets/img/site.webmanifest') }}\">
  468.         <link rel=\"mask-icon\" href=\"{{ asset('assets/img/safari-pinned-tab.svg') }}\" color=\"#15683A\">
  469.         <meta name=\"msapplication-TileColor\" content=\"#15683A\">
  470.         {% block metaTags %}
  471.             <meta name=\"description\" content=\"{{ page ? page.metaDescription : \"Concepteur et fabricant de machines pour abattoir.\" }}\">
  472.             <title>{{ page ? page.metaTitle : siteTitle }}</title>
  473.             <meta property=\"og:type\" content=\"website\">
  474.             <meta property=\"og:site_name\" content=\"FACOMIA\">
  475.             <meta property=\"og:url\" content=\"{{ app.request.uri }}\">
  476.             <meta property=\"og:image\" content=\"{{ asset('assets/img/logo-ogg.jpg') }}\">
  477.             <meta property=\"og:title\" content=\"{{ page ? page.metaTitle : \"FACOMIA - Le pionnier des constructeurs français de machines pour abattoir\" }}\">
  478.             <meta property=\"og:description\" content=\"{{ page ? page.metaDescription : \"Concepteur et fabricant de machines pour abattoir.\" }}\">
  479.         {% endblock %}
  480.         {% set metaColor = getMetaColor() %}
  481.         {% if metaColor %}
  482.             <meta name=\"theme-color\" content=\"{{ getMetaColor() }}\">
  483.         {% endif %}
  484.         {{ encore_entry_link_tags('app') }}
  485.         {% block stylesheets %}
  486.         {% endblock %}
  487.         {% set googleAnalytic = getGoogleAnalytic() %}
  488.         {% if googleAnalytic %}
  489.             <!-- Google tag (gtag.js) -->
  490.             <script async src=\"https://www.googletagmanager.com/gtag/js?id={{ googleAnalytic }}\"></script>
  491.             <script>
  492.                 window.dataLayer = window.dataLayer || [];
  493.                 function gtag() {
  494.                     dataLayer.push(arguments);
  495.                 }
  496.                 gtag('js', new Date());
  497.                 gtag('config', '{{ googleAnalytic }}');
  498.             </script>
  499.         {% endif %}
  500.         {% set googleSearchConsole = getGoogleSearchConsole() %}
  501.         {% if googleSearchConsole %}
  502.             <meta name=\"google-site-verification\" content=\"{{ googleSearchConsole }}\"/>
  503.         {% endif %}
  504.         <link rel=\"stylesheet\" href=\"{{ asset('assets/libs/openlayers/ol.css') }}\">
  505.         <script type=\"text/javascript\" src=\"{{ asset('assets/libs/openlayers/ol.js') }}\"></script>
  506.         <link rel=\"stylesheet\" href=\"{{ asset('assets/libs/aos/aos.css') }}\">
  507.     </head>
  508.     <body data-navbar-search-url=\"{{ path('front_navbar_search') }}\" {% block body_tag %}{% endblock %}>
  509.         <div class=\"wrapper\">
  510.             {% block flash %}
  511.                 {% for label, messages in app.flashes %}
  512.                     {% for key, message in messages %}
  513.                         <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
  514.                              aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
  515.                             <div class=\"modal-dialog\" role=\"document\">
  516.                                 <div class=\"modal-content\">
  517.                                     <div class=\"modal-body\">
  518.                                         <div class=\"text-right\">
  519.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  520.                                                 <span aria-hidden=\"true\">&times;</span>
  521.                                             </button>
  522.                                         </div>
  523.                                         <div>
  524.                                             {% if label == \"success\" %}
  525.                                                 <i class=\"fa fa-check text-success\"></i>
  526.                                             {% else %}
  527.                                                 <i class=\"fa fa-warning text-danger\"></i>
  528.                                             {% endif %}
  529.                                             {{ message|trans|raw }}
  530.                                         </div>
  531.                                     </div>
  532.                                 </div>
  533.                             </div>
  534.                         </div>
  535.                     {% endfor %}
  536.                 {% endfor %}
  537.             {% endblock %}
  538.             {% block navbar %}
  539.                 {#   <div class=\"fixed-top zi-999 bgc-white c-black pay-10\">
  540.                        <div class=\"container\">
  541.                            <div class=\"row align-items-center fs-14 fw-300\">
  542.                                <div class=\"font-italic col\">
  543.                                    {{ page ? page.title : siteTitle }}
  544.                                </div>
  545.                            </div>
  546.                        </div>
  547.                    </div>#}
  548.                 <div class=\"d-none d-lg-block\">
  549.                     {% include \"commons/navbar.html.twig\" %}
  550.                 </div>
  551.                 <div class=\"d-block d-lg-none\">
  552.                     {% include \"commons/navbarMobile.html.twig\" %}
  553.                 </div>
  554.                 {#        #}
  555.             {% endblock %}
  556.         {% block body %}{% endblock %}
  557.         {% block footer %}
  558.             {% include \"front/footer.html.twig\" %}
  559.         {% endblock %}
  560.         <div class=\"position-fixed b-20 r-20 pointer scrollToTopDiv scrollToTop bgc-white pa-12\">
  561.             <i class=\"fa-light fa-arrow-up-to-line fs-25 c-15683A\"></i>
  562.         </div>
  563.     </div>
  564.     {{ encore_entry_script_tags('app') }}
  565.     <script type=\"text/javascript\" src=\"{{ asset('assets/libs/aos/aos.js') }}\"></script>
  566.     <script>
  567.         AOS.init({
  568.             once: true,
  569.         });
  570.     </script>
  571.     <script type=\"text/javascript\" src=\"{{ asset('assets/libs/cookieconsent/cookie-consent.js') }}\"></script>
  572.     <script type=\"text/javascript\">
  573.         document.addEventListener('DOMContentLoaded', function () {
  574.             cookieconsent.run({
  575.                 \"notice_banner_type\": \"simple\",
  576.                 \"consent_type\": \"implied\",
  577.                 \"palette\": \"light\",
  578.                 \"language\": \"fr\",
  579.                 \"website_name\": \"{{ siteTitle }}\",
  580.                 \"change_preferences_selector\": \"#changePreferences\"
  581.             });
  582.         });
  583.     </script>
  584.     <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  585.     {% block javascripts %}
  586.     {% endblock %}
  587. </body>
  588. </html>
  589. ""base.html.twig""/home/hlcdisb/www/facomia_dev/templates/base.html.twig");
  590.     }
  591. }