var/cache/dev/twig/0a/0ab0a8fffe5006c47e03e1a450ce811e.php line 46

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. use Twig\TemplateWrapper;
  15. /* themesWebsite/cvs/website/metier.html.twig */
  16. class __TwigTemplate_e99334547bf8a9d81a8e1360d50442bd extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'description' => [$this'block_description'],
  30.             'robots' => [$this'block_robots'],
  31.             'body' => [$this'block_body'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35.     {
  36.         // line 1
  37.         return "themesWebsite/blog_cvs/base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""themesWebsite/cvs/website/metier.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""themesWebsite/cvs/website/metier.html.twig"));
  46.         $this->parent $this->loadTemplate("themesWebsite/blog_cvs/base.html.twig""themesWebsite/cvs/website/metier.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 3
  54.     public function block_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["bigCategory"]) || array_key_exists("bigCategory"$context) ? $context["bigCategory"] : (function () { throw new RuntimeError('Variable "bigCategory" does not exist.'3$this->source); })()), "shortTitle", [], "any"falsefalsefalse3), "html"nulltrue);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         return; yield '';
  67.     }
  68.     // line 4
  69.     public function block_description($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  76.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["bigCategory"]) || array_key_exists("bigCategory"$context) ? $context["bigCategory"] : (function () { throw new RuntimeError('Variable "bigCategory" does not exist.'4$this->source); })()), "shortDescription", [], "any"falsefalsefalse4), "html"nulltrue);
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         return; yield '';
  82.     }
  83.     // line 5
  84.     public function block_robots($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""robots"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""robots"));
  91.         yield "index,follow";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         return; yield '';
  97.     }
  98.     // line 10
  99.     public function block_body($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  106.         // line 11
  107.         yield "
  108.     <div class=\"image-cover hero-header\">
  109.         <div class=\"container\">
  110.             <div class=\"row justify-content-between align-items-center\">
  111.                 <div class=\"col-xl-7 col-lg-7 col-md-12 col-sm-12 pe-xl-5 pe-lg-4\">
  112.                     <h1 class=\"mb-4\">";
  113.         // line 17
  114.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["bigCategory"]) || array_key_exists("bigCategory"$context) ? $context["bigCategory"] : (function () { throw new RuntimeError('Variable "bigCategory" does not exist.'17$this->source); })()), "title", [], "any"falsefalsefalse17), "html"nulltrue);
  115.         yield "</h1>
  116.                     <p class=\"fs-5\">";
  117.         // line 18
  118.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["bigCategory"]) || array_key_exists("bigCategory"$context) ? $context["bigCategory"] : (function () { throw new RuntimeError('Variable "bigCategory" does not exist.'18$this->source); })()), "description", [], "any"falsefalsefalse18), "html"nulltrue);
  119.         yield "</p>
  120.                 </div>
  121.                 <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12\">
  122.                 </div>
  123.             </div>
  124.             <div class=\"row gx-4 gy-4\">
  125.                 ";
  126.         // line 26
  127.         $context['_parent'] = $context;
  128.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'26$this->source); })()));
  129.         foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  130.             // line 27
  131.             yield "                    <div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-6\">
  132.                         <div class=\"card border py-4 px-4 rounded-4 mb-0\">
  133.                             <div class=\"ctrd-icons mb-3\">
  134.                                 ";
  135.             // line 30
  136.             yield CoreExtension::getAttribute($this->env$this->source$context["cat"], "icon", [], "any"falsefalsefalse30);
  137.             yield "
  138.                             </div>
  139.                             <div class=\"ctrd-caps\">
  140.                                 <h4 class=\"fs-5\"><a href=\"";
  141.             // line 33
  142.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cvs_website_category", ["slug" => CoreExtension::getAttribute($this->env$this->source$context["cat"], "slug", [], "any"falsefalsefalse33)]), "html"nulltrue);
  143.             yield "\">";
  144.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["cat"], "title", [], "any"falsefalsefalse33), "html"nulltrue);
  145.             yield "</a></h4>
  146.                                 <p class=\"mb-3\">";
  147.             // line 34
  148.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["cat"], "description", [], "any"falsefalsefalse34), "html"nulltrue);
  149.             yield "</p>
  150.                             </div>
  151.                         </div>
  152.                     </div>
  153.                 ";
  154.         }
  155.         $_parent $context['_parent'];
  156.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent']);
  157.         $context array_intersect_key($context$_parent) + $_parent;
  158.         // line 39
  159.         yield "            </div>
  160.         </div>
  161.     </div>
  162. ";
  163.         
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.         return; yield '';
  168.     }
  169.     /**
  170.      * @codeCoverageIgnore
  171.      */
  172.     public function getTemplateName(): string
  173.     {
  174.         return "themesWebsite/cvs/website/metier.html.twig";
  175.     }
  176.     /**
  177.      * @codeCoverageIgnore
  178.      */
  179.     public function isTraitable(): bool
  180.     {
  181.         return false;
  182.     }
  183.     /**
  184.      * @codeCoverageIgnore
  185.      */
  186.     public function getDebugInfo(): array
  187.     {
  188.         return array (  191 => 39,  180 => 34,  174 => 33,  168 => 30,  163 => 27,  159 => 26,  148 => 18,  144 => 17,  136 => 11,  126 => 10,  106 => 5,  86 => 4,  66 => 3,  43 => 1,);
  189.     }
  190.     public function getSourceContext(): Source
  191.     {
  192.         return new Source("{% extends 'themesWebsite/blog_cvs/base.html.twig' %}
  193. {% block title %}{{ bigCategory.shortTitle }}{% endblock title %}
  194. {% block description %}{{ bigCategory.shortDescription }}{% endblock description %}
  195. {% block robots %}index,follow{% endblock robots %}
  196. {#% block meta_social %}{{ parent() }}{% include \"/themesWebsite/blog_cpn/components/socialmedia.html.twig\" with { 'page':page,'social_type':'website' } %}{% endblock meta_social %}
  197. {% block meta %}{{ parent() }}{% include \"/themesWebsite/blog_cpn/components/author.html.twig\" with {'page':page } %}{% endblock meta %#}
  198. {% block body %}
  199.     <div class=\"image-cover hero-header\">
  200.         <div class=\"container\">
  201.             <div class=\"row justify-content-between align-items-center\">
  202.                 <div class=\"col-xl-7 col-lg-7 col-md-12 col-sm-12 pe-xl-5 pe-lg-4\">
  203.                     <h1 class=\"mb-4\">{{ bigCategory.title }}</h1>
  204.                     <p class=\"fs-5\">{{  bigCategory.description }}</p>
  205.                 </div>
  206.                 <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12\">
  207.                 </div>
  208.             </div>
  209.             <div class=\"row gx-4 gy-4\">
  210.                 {% for cat in categories %}
  211.                     <div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-6\">
  212.                         <div class=\"card border py-4 px-4 rounded-4 mb-0\">
  213.                             <div class=\"ctrd-icons mb-3\">
  214.                                 {{ cat.icon|raw }}
  215.                             </div>
  216.                             <div class=\"ctrd-caps\">
  217.                                 <h4 class=\"fs-5\"><a href=\"{{ path('cvs_website_category',{'slug':cat.slug}) }}\">{{ cat.title }}</a></h4>
  218.                                 <p class=\"mb-3\">{{ cat.description }}</p>
  219.                             </div>
  220.                         </div>
  221.                     </div>
  222.                 {% endfor %}
  223.             </div>
  224.         </div>
  225.     </div>
  226. {% endblock body %}""themesWebsite/cvs/website/metier.html.twig""/var/www/vhosts/whileresume.com/httpdocs/templates/themesWebsite/cvs/website/metier.html.twig");
  227.     }
  228. }