<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* themesWebsite/cvs/website/metier.html.twig */
class __TwigTemplate_e99334547bf8a9d81a8e1360d50442bd extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'robots' => [$this, 'block_robots'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "themesWebsite/blog_cvs/base.html.twig";
}
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", "themesWebsite/cvs/website/metier.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themesWebsite/cvs/website/metier.html.twig"));
$this->parent = $this->loadTemplate("themesWebsite/blog_cvs/base.html.twig", "themesWebsite/cvs/website/metier.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
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", false, false, false, 3), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 4
public function block_description($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", "description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
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", false, false, false, 4), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_robots($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", "robots"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots"));
yield "index,follow";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 10
public function block_body($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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 11
yield "
<div class=\"image-cover hero-header\">
<div class=\"container\">
<div class=\"row justify-content-between align-items-center\">
<div class=\"col-xl-7 col-lg-7 col-md-12 col-sm-12 pe-xl-5 pe-lg-4\">
<h1 class=\"mb-4\">";
// line 17
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", false, false, false, 17), "html", null, true);
yield "</h1>
<p class=\"fs-5\">";
// line 18
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", false, false, false, 18), "html", null, true);
yield "</p>
</div>
<div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12\">
</div>
</div>
<div class=\"row gx-4 gy-4\">
";
// line 26
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 27
yield " <div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-6\">
<div class=\"card border py-4 px-4 rounded-4 mb-0\">
<div class=\"ctrd-icons mb-3\">
";
// line 30
yield CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "icon", [], "any", false, false, false, 30);
yield "
</div>
<div class=\"ctrd-caps\">
<h4 class=\"fs-5\"><a href=\"";
// line 33
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", false, false, false, 33)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "title", [], "any", false, false, false, 33), "html", null, true);
yield "</a></h4>
<p class=\"mb-3\">";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "description", [], "any", false, false, false, 34), "html", null, true);
yield "</p>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
yield " </div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themesWebsite/cvs/website/metier.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'themesWebsite/blog_cvs/base.html.twig' %}
{% block title %}{{ bigCategory.shortTitle }}{% endblock title %}
{% block description %}{{ bigCategory.shortDescription }}{% endblock description %}
{% block robots %}index,follow{% endblock robots %}
{#% block meta_social %}{{ parent() }}{% include \"/themesWebsite/blog_cpn/components/socialmedia.html.twig\" with { 'page':page,'social_type':'website' } %}{% endblock meta_social %}
{% block meta %}{{ parent() }}{% include \"/themesWebsite/blog_cpn/components/author.html.twig\" with {'page':page } %}{% endblock meta %#}
{% block body %}
<div class=\"image-cover hero-header\">
<div class=\"container\">
<div class=\"row justify-content-between align-items-center\">
<div class=\"col-xl-7 col-lg-7 col-md-12 col-sm-12 pe-xl-5 pe-lg-4\">
<h1 class=\"mb-4\">{{ bigCategory.title }}</h1>
<p class=\"fs-5\">{{ bigCategory.description }}</p>
</div>
<div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12\">
</div>
</div>
<div class=\"row gx-4 gy-4\">
{% for cat in categories %}
<div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-6\">
<div class=\"card border py-4 px-4 rounded-4 mb-0\">
<div class=\"ctrd-icons mb-3\">
{{ cat.icon|raw }}
</div>
<div class=\"ctrd-caps\">
<h4 class=\"fs-5\"><a href=\"{{ path('cvs_website_category',{'slug':cat.slug}) }}\">{{ cat.title }}</a></h4>
<p class=\"mb-3\">{{ cat.description }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock body %}", "themesWebsite/cvs/website/metier.html.twig", "/var/www/vhosts/whileresume.com/httpdocs/templates/themesWebsite/cvs/website/metier.html.twig");
}
}