var/cache/dev/twig/46/4669a4d1bc2a510daa4518be0aaa1588f8839264c3cd5e1286fa79d82041a62b.php line 201

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. /* front_v4/mca/blog/list.html.twig */
  14. class __TwigTemplate_3be0c498419122469823a265ca06ac09081b7a4bb048745332a7a713648bbfa9 extends \Twig\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->blocks = [
  23.             'meta_title' => [$this'block_meta_title'],
  24.             'meta_description' => [$this'block_meta_description'],
  25.             'meta_custom' => [$this'block_meta_custom'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'content' => [$this'block_content'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "front_v4/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/blog/list.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/blog/list.html.twig"));
  43.         $this->parent $this->loadTemplate("front_v4/base.html.twig""front_v4/mca/blog/list.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_meta_title($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  58.         echo "Mon Centre Auditif - Découvrez notre blog ";
  59.         if (((array_key_exists("pagination"$context) &&  !(null === (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'3$this->source); })()))) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'3$this->source); })()), "params", [], "any"falsefalsefalse3)))) {
  60.             echo " | Page ";
  61.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'3$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse3), "html"nulltrue);
  62.             echo " ";
  63.         }
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 4
  70.     public function block_meta_description($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  77.         echo "Retrouvez toutes nos publications relatives à l'audition pour vous informer sur l'univers de l'aide auditive";
  78.         
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  80.         
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  82.     }
  83.     // line 6
  84.     public function block_meta_custom($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  91.         // line 7
  92.         echo "    ";
  93.         if ((array_key_exists("pagination"$context) &&  !(null === (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'7$this->source); })())))) {
  94.             // line 8
  95.             echo "        ";
  96.             $context["numberOfPage"] = (twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'8$this->source); })()), "totalItemCount", [], "any"falsefalsefalse8) / twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'8$this->source); })()), "itemNumberPerPage", [], "any"falsefalsefalse8));
  97.             // line 9
  98.             echo "        ";
  99.             if (((isset($context["numberOfPage"]) || array_key_exists("numberOfPage"$context) ? $context["numberOfPage"] : (function () { throw new RuntimeError('Variable "numberOfPage" does not exist.'9$this->source); })()) > 1)) {
  100.                 // line 10
  101.                 echo "            ";
  102.                 $context["next"] = (twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'10$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse10) + 1);
  103.                 // line 11
  104.                 echo "            ";
  105.                 $context["prev"] = (twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'11$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse11) - 1);
  106.                 // line 12
  107.                 echo "            ";
  108.                 if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'12$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse12) == 1)) {
  109.                     // line 13
  110.                     echo "                ";
  111.                     $context["next"] = (twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'13$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse13) + 1);
  112.                     // line 14
  113.                     echo "                <link rel=\"next\" href=\"";
  114.                     echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "attributes", [], "any"falsefalsefalse14), "get", [=> "_route"], "method"falsefalsefalse14), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 15
  115. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "attributes", [], "any"falsefalsefalse15), "get", [=> "_route_params"], "method"falsefalsefalse15)) . "?page=") . (isset($context["next"]) || array_key_exists("next"$context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.'15$this->source); })())), "html"nulltrue);
  116.                     echo "\"/>
  117.             ";
  118.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 16
  119. (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'16$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse16) == (isset($context["numberOfPage"]) || array_key_exists("numberOfPage"$context) ? $context["numberOfPage"] : (function () { throw new RuntimeError('Variable "numberOfPage" does not exist.'16$this->source); })()))) {
  120.                     // line 17
  121.                     echo "                <link rel=\"prev\" href=\"";
  122.                     echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "attributes", [], "any"falsefalsefalse17), "get", [=> "_route"], "method"falsefalsefalse17), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 18
  123. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "attributes", [], "any"falsefalsefalse18), "get", [=> "_route_params"], "method"falsefalsefalse18)) . "?page=") . (isset($context["prev"]) || array_key_exists("prev"$context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.'18$this->source); })())), "html"nulltrue);
  124.                     echo "\"/>
  125.             ";
  126.                 } else {
  127.                     // line 20
  128.                     echo "                <link rel=\"next\" href=\"";
  129.                     echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "attributes", [], "any"falsefalsefalse20), "get", [=> "_route"], "method"falsefalsefalse20), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 21
  130. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'21$this->source); })()), "request", [], "any"falsefalsefalse21), "attributes", [], "any"falsefalsefalse21), "get", [=> "_route_params"], "method"falsefalsefalse21)) . "?page=") . (isset($context["next"]) || array_key_exists("next"$context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.'21$this->source); })())), "html"nulltrue);
  131.                     echo "\"/>
  132.                 <link rel=\"prev\" href=\"";
  133.                     // line 22
  134.                     echo twig_escape_filter($this->env, (($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.'22$this->source); })()), "request", [], "any"falsefalsefalse22), "attributes", [], "any"falsefalsefalse22), "get", [=> "_route"], "method"falsefalsefalse22), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 23
  135. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "request", [], "any"falsefalsefalse23), "attributes", [], "any"falsefalsefalse23), "get", [=> "_route_params"], "method"falsefalsefalse23)) . "?page=") . (isset($context["prev"]) || array_key_exists("prev"$context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.'23$this->source); })())), "html"nulltrue);
  136.                     echo "\"/>
  137.             ";
  138.                 }
  139.                 // line 25
  140.                 echo "        ";
  141.             }
  142.             // line 26
  143.             echo "    ";
  144.         }
  145.         
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  147.         
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  149.     }
  150.     // line 29
  151.     public function block_stylesheets($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  158.         // line 30
  159.         echo "    ";
  160.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("blog_list");
  161.         echo "
  162. ";
  163.         
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  165.         
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  167.     }
  168.     // line 33
  169.     public function block_content($context, array $blocks = [])
  170.     {
  171.         $macros $this->macros;
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  173.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  175.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  176.         // line 34
  177.         echo "    <div id=\"header\"></div>
  178.     <!-- ========== MAIN CONTENT ========== -->
  179.     <main id=\"content\" role=\"main\">
  180.         <!-- Blog Carousel -->
  181.         ";
  182.         // line 38
  183.         $this->loadTemplate("front_v4/mca/blog/_blog_swiper.html.twig""front_v4/mca/blog/list.html.twig"38)->display($context);
  184.         // line 39
  185.         echo "        <!-- End Blog Carousel -->
  186.         <!-- Card Grid -->
  187.         <div class=\"container content-space-2\">
  188.             <!-- Hero -->
  189.             <div class=\"content-space-b-1\">
  190.                 <div class=\"w-md-75 text-center mx-md-auto\">
  191.                     <h1 class=\"\">Le blog de l'audition</h1>
  192.                     <p class=\"lead\">Découvrez les dernières actualités sur l'univers de l'audition.</p>
  193.                 </div>
  194.             </div>
  195.             <!-- End Hero -->
  196.             <div class=\"row justify-content-lg-between\">
  197.                 <div class=\"col-lg-8 mb-10 mb-lg-0\">
  198.                     <div class=\"d-grid gap-7 mb-7\">
  199.                         ";
  200.         // line 54
  201.         $context['_parent'] = $context;
  202.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'54$this->source); })()));
  203.         $context['_iterated'] = false;
  204.         foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  205.             // line 55
  206.             echo "                            <a href=\"";
  207.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_post_show", ["slug" => twig_get_attribute($this->env$this->source$context["post"], "slug", [], "any"falsefalsefalse55)]), "html"nulltrue);
  208.             echo "\">
  209.                                 ";
  210.             // line 56
  211.             if ((twig_get_attribute($this->env$this->source$context["post"], "isPillarPage", [], "any"falsefalsefalse56) == true)) {
  212.                 // line 57
  213.                 echo "                                    <div class=\"card card-transition align-items-start flex-wrap flex-row bg-img-start gradient-overlay-half-dark-v2\"
  214.                                          style=\"background-image: url('";
  215.                 // line 58
  216.                 if (twig_get_attribute($this->env$this->source$context["post"], "filename", [], "any"falsefalsefalse58)) {
  217.                     echo " ";
  218.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["post"], "imageFile"), "blog_post_extra_large"), "html"nulltrue);
  219.                     echo " ";
  220.                 }
  221.                 echo "'); min-height: 25rem;\">
  222.                                         <!-- Card Header -->
  223.                                         <div class=\"card-header w-100\">
  224.                                             <div class=\"d-flex align-items-center\">
  225.                                                 <div class=\"flex-shrink-0\">
  226.                         <span class=\"avatar avatar-sm avatar-circle\">
  227.                           <img class=\"avatar-img\"
  228.                                src=\"";
  229.                 // line 65
  230.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse65), "filename", [], "any"falsefalsefalse65)) {
  231.                     echo " ";
  232.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse65), "imageFile"), "author_image_small"), "html"nulltrue);
  233.                     echo " ";
  234.                 }
  235.                 echo "\"
  236.                                alt=\"";
  237.                 // line 66
  238.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse66), "firstname", [], "any"falsefalsefalse66), "html"nulltrue);
  239.                 echo "\">
  240.                         </span>
  241.                                                 </div>
  242.                                                 <div class=\"flex-grow-1 ms-3\">
  243.                                                     <h4 class=\"card-title text-white mb-0\">";
  244.                 // line 71
  245.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse71), "firstname", [], "any"falsefalsefalse71), "html"nulltrue);
  246.                 echo "</h4>
  247.                                                     <p class=\"card-text text-white-70 small\">";
  248.                 // line 72
  249.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source$context["post"], "createdAt", [], "any"falsefalsefalse72), "medium"), "html"nulltrue);
  250.                 echo "</p>
  251.                                                 </div>
  252.                                             </div>
  253.                                         </div>
  254.                                         <!-- End Card Header -->
  255.                                         <!-- Card Footer -->
  256.                                         <div class=\"card-footer mt-auto\">
  257.                                             <h3 class=\"h2 text-white\">";
  258.                 // line 80
  259.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse80), "html"nulltrue);
  260.                 echo "</h3>
  261.                                             <p class=\"text-white-70\">";
  262.                 // line 81
  263.                 echo twig_nl2br(twig_truncate_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["post"], "body", [], "any"falsefalsefalse81)), 120true));
  264.                 echo "</p>
  265.                                         </div>
  266.                                         <!-- End Card Footer -->
  267.                                     </div>
  268.                                 ";
  269.             } else {
  270.                 // line 86
  271.                 echo "                                    <!-- Card -->
  272.                                     <div class=\"card card-flush card-stretched-vertical\">
  273.                                         <div class=\"row\">
  274.                                             <div class=\"col-sm-5\">
  275.                                                 ";
  276.                 // line 91
  277.                 echo "                                                <img class=\"card-img\"
  278.                                                      src=\"";
  279.                 // line 92
  280.                 if (twig_get_attribute($this->env$this->source$context["post"], "filename", [], "any"falsefalsefalse92)) {
  281.                     echo " ";
  282.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["post"], "imageFile"), "blog_post_small"), "html"nulltrue);
  283.                     echo " ";
  284.                 }
  285.                 echo "\"
  286.                                                      alt=\"";
  287.                 // line 93
  288.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse93), "html"nulltrue);
  289.                 echo "\">
  290.                                             </div>
  291.                                             <!-- End Col -->
  292.                                             <div class=\"col-sm-7\">
  293.                                                 <!-- Card Body -->
  294.                                                 <div class=\"card-body\">
  295.                                                     <div class=\"mb-2\">
  296.                                                         <h5 class=\"text-primary\">";
  297.                 // line 101
  298.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "blogCategory", [], "any"falsefalsefalse101), "html"nulltrue);
  299.                 echo "</h5>
  300.                                                     </div>
  301.                                                     <h3 class=\"card-title text-dark\">";
  302.                 // line 104
  303.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse104), "html"nulltrue);
  304.                 echo "</h3>
  305.                                                     <p class=\"card-text\">";
  306.                 // line 106
  307.                 echo twig_nl2br(twig_truncate_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["post"], "body", [], "any"falsefalsefalse106)), 250true));
  308.                 echo "</p>
  309.                                                     <!-- Card Footer -->
  310.                                                     <div class=\"card-footer\">
  311.                                                         <div class=\"d-flex\">
  312.                                                             <div class=\"flex-shrink-0\">
  313.                                                                 <h4 class=\"avatar avatar-circle\">
  314.                                                                     <img class=\"avatar-img\"
  315.                                                                          src=\"";
  316.                 // line 114
  317.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse114), "filename", [], "any"falsefalsefalse114)) {
  318.                     echo " ";
  319.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse114), "imageFile"), "author_image_small"), "html"nulltrue);
  320.                     echo " ";
  321.                 }
  322.                 echo "\"
  323.                                                                          alt=\"";
  324.                 // line 115
  325.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse115), "firstname", [], "any"falsefalsefalse115), "html"nulltrue);
  326.                 echo "\">
  327.                                                                 </h4>
  328.                                                             </div>
  329.                                                             <div class=\"flex-grow-1 ms-3\">
  330.                                                                 <h4 class=\"mb-0\">";
  331.                 // line 120
  332.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse120), "firstname", [], "any"falsefalsefalse120), "html"nulltrue);
  333.                 echo "</h4>
  334.                                                                 <p class=\"card-text small\">";
  335.                 // line 121
  336.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source$context["post"], "createdAt", [], "any"falsefalsefalse121), "medium"), "html"nulltrue);
  337.                 echo "</p>
  338.                                                             </div>
  339.                                                         </div>
  340.                                                     </div>
  341.                                                     <!-- End Card Footer -->
  342.                                                 </div>
  343.                                                 <!-- End Card Body -->
  344.                                             </div>
  345.                                             <!-- End Col -->
  346.                                         </div>
  347.                                         <!-- End Row -->
  348.                                     </div>
  349.                                     <!-- End Card -->
  350.                                 ";
  351.             }
  352.             // line 135
  353.             echo "                            </a>
  354.                         ";
  355.             $context['_iterated'] = true;
  356.         }
  357.         if (!$context['_iterated']) {
  358.             // line 137
  359.             echo "                            <p class=\"h5 fw-bold mx-3\">Aucun article trouvé</p>
  360.                         ";
  361.         }
  362.         $_parent $context['_parent'];
  363.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  364.         $context array_intersect_key($context$_parent) + $_parent;
  365.         // line 139
  366.         echo "                    </div>
  367.                     <!-- Sticky Block End Point -->
  368.                     <div id=\"stickyBlockEndPoint\"></div>
  369.                     <!-- Pagination -->
  370.                     ";
  371.         // line 145
  372.         if ((array_key_exists("pagination"$context) &&  !(null === (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'145$this->source); })())))) {
  373.             // line 146
  374.             echo "                        <div class=\"navigation pagination d-flex justify-content-center mt-5\">
  375.                             ";
  376.             // line 147
  377.             twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'147$this->source); })()), "setTemplate", [=> "@KnpPaginator/Pagination/twitter_bootstrap_v4_pagination.html.twig"], "method"falsefalsefalse147);
  378.             // line 148
  379.             echo "                            ";
  380.             echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'148$this->source); })()));
  381.             echo "
  382.                         </div>
  383.                     ";
  384.         }
  385.         // line 151
  386.         echo "                    <!-- End Pagination -->
  387.                 </div>
  388.                 <!-- End Col -->
  389.                 <div class=\"col-lg-3\">
  390.                     <div class=\"mb-7\">
  391.                         <div class=\"mb-3\">
  392.                             <h3>Rechercher un article</h3>
  393.                         </div>
  394.                         <!-- Search -->
  395.                         ";
  396.         // line 162
  397.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'162$this->source); })()), 'form_start');
  398.         echo "
  399.                         <div class=\"input-group\">
  400.                             ";
  401.         // line 164
  402.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'164$this->source); })()), "keyword", [], "any"falsefalsefalse164), 'widget');
  403.         echo "
  404.                             <div class=\"input-group-append\">
  405.                                 ";
  406.         // line 166
  407.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'166$this->source); })()), "submit", [], "any"falsefalsefalse166), 'widget');
  408.         echo "
  409.                             </div>
  410.                         </div>
  411.                         ";
  412.         // line 169
  413.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'169$this->source); })()), 'form_end');
  414.         echo "
  415.                         <!-- End Search -->
  416.                         <p class=\"form-text\">Saisissez un mot-clé pour effectuer une recherche parmi tous nos
  417.                             articles.</p>
  418.                     </div>
  419.                     <!-- Sticky Block Start Point -->
  420.                     <div id=\"stickyBlockStartPoint\"></div>
  421.                     <div class=\"js-sticky-block\"
  422.                          data-hs-sticky-block-options='{
  423.                  \"parentSelector\": \"#stickyBlockStartPoint\",
  424.                  \"targetSelector\": \"#header\",
  425.                  \"breakpoint\": \"md\",
  426.                  \"startPoint\": \"#stickyBlockStartPoint\",
  427.                  \"endPoint\": \"#stickyBlockEndPoint\",
  428.                  \"stickyOffsetTop\": 80
  429.                }'>
  430.                         ";
  431.         // line 187
  432.         if ((array_key_exists("randomPageByCategory"$context) &&  !twig_test_empty((isset($context["randomPageByCategory"]) || array_key_exists("randomPageByCategory"$context) ? $context["randomPageByCategory"] : (function () { throw new RuntimeError('Variable "randomPageByCategory" does not exist.'187$this->source); })())))) {
  433.             // line 188
  434.             echo "                            <div class=\"mb-7\">
  435.                                 <div class=\"mb-3\">
  436.                                     <h3>Notre sélection</h3>
  437.                                 </div>
  438.                                 <div class=\"d-grid gap-2\">
  439.                                     ";
  440.             // line 194
  441.             $context['_parent'] = $context;
  442.             $context['_seq'] = twig_ensure_traversable((isset($context["randomPageByCategory"]) || array_key_exists("randomPageByCategory"$context) ? $context["randomPageByCategory"] : (function () { throw new RuntimeError('Variable "randomPageByCategory" does not exist.'194$this->source); })()));
  443.             foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  444.                 // line 195
  445.                 echo "                                        <!-- Card -->
  446.                                         <a class=\"d-block\" href=\"";
  447.                 // line 196
  448.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_post_show", ["slug" => twig_get_attribute($this->env$this->source$context["post"], "slug", [], "any"falsefalsefalse196)]), "html"nulltrue);
  449.                 echo "\">
  450.                                             <div class=\"d-flex align-items-center\">
  451.                                                 <div class=\"flex-shrink-0\">
  452.                                                     <div class=\"avatar avatar-lg\">
  453.                                                         <img class=\"avatar-img\"
  454.                                                              src=\"";
  455.                 // line 201
  456.                 if (twig_get_attribute($this->env$this->source$context["post"], "filename", [], "any"falsefalsefalse201)) {
  457.                     echo " ";
  458.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["post"], "imageFile"), "blog_post_small"), "html"nulltrue);
  459.                     echo " ";
  460.                 }
  461.                 echo "\"
  462.                                                              alt=\"";
  463.                 // line 202
  464.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse202), "html"nulltrue);
  465.                 echo "\">
  466.                                                     </div>
  467.                                                 </div>
  468.                                                 <div class=\"flex-grow-1 ms-3\">
  469.                                                     <h5 class=\"text-inherit mb-0\">";
  470.                 // line 206
  471.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse206), "html"nulltrue);
  472.                 echo "</h5>
  473.                                                 </div>
  474.                                             </div>
  475.                                         </a>
  476.                                         <!-- End Card -->
  477.                                     ";
  478.             }
  479.             $_parent $context['_parent'];
  480.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  481.             $context array_intersect_key($context$_parent) + $_parent;
  482.             // line 212
  483.             echo "                                </div>
  484.                             </div>
  485.                         ";
  486.         }
  487.         // line 215
  488.         echo "
  489.                         ";
  490.         // line 216
  491.         if ((array_key_exists("featuredCategory"$context) &&  !twig_test_empty((isset($context["featuredCategory"]) || array_key_exists("featuredCategory"$context) ? $context["featuredCategory"] : (function () { throw new RuntimeError('Variable "featuredCategory" does not exist.'216$this->source); })())))) {
  492.             // line 217
  493.             echo "                        <div class=\"mb-7\">
  494.                             <div class=\"mb-3\">
  495.                                 <h3>";
  496.             // line 219
  497.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["featuredCategory"]) || array_key_exists("featuredCategory"$context) ? $context["featuredCategory"] : (function () { throw new RuntimeError('Variable "featuredCategory" does not exist.'219$this->source); })()), "name", [], "any"falsefalsefalse219), "html"nulltrue);
  498.             echo "</h3>
  499.                             </div>
  500.                             <!-- List Group -->
  501.                             <ul class=\"list-group list-group-lg\">
  502.                                 ";
  503.             // line 223
  504.             $context['_parent'] = $context;
  505.             $context['_seq'] = twig_ensure_traversable((isset($context["featuredLastedPostByCategory"]) || array_key_exists("featuredLastedPostByCategory"$context) ? $context["featuredLastedPostByCategory"] : (function () { throw new RuntimeError('Variable "featuredLastedPostByCategory" does not exist.'223$this->source); })()));
  506.             foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  507.                 // line 224
  508.                 echo "                                    <!-- Item -->
  509.                                     <li class=\"list-group-item\">
  510.                                         <a href=\"#\">
  511.                                             <div class=\"row align-items-center\">
  512.                                                 <div class=\"col\">
  513.                                                     <h5 class=\"mb-1\">";
  514.                 // line 229
  515.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse229), "html"nulltrue);
  516.                 echo "</h5>
  517.                                                     <p class=\"text-body small mb-0\">";
  518.                 // line 230
  519.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source$context["post"], "createdAt", [], "any"falsefalsefalse230), "medium"), "html"nulltrue);
  520.                 echo "</p>
  521.                                                 </div>
  522.                                                 <!-- End Col -->
  523.                                                 <div class=\"col-auto\">
  524.                                                     <i class=\"bi-chevron-right\"></i>
  525.                                                 </div>
  526.                                                 <!-- End Col -->
  527.                                             </div>
  528.                                             <!-- End Row -->
  529.                                         </a>
  530.                                     </li>
  531.                                     <!-- End Item -->
  532.                                 ";
  533.             }
  534.             $_parent $context['_parent'];
  535.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  536.             $context array_intersect_key($context$_parent) + $_parent;
  537.             // line 244
  538.             echo "                            </ul>
  539.                             <!-- End List Group -->
  540.                         </div>
  541.                         ";
  542.         }
  543.         // line 248
  544.         echo "                    </div>
  545.                 </div>
  546.                 <!-- End Col -->
  547.             </div>
  548.             <!-- End Row -->
  549.         </div>
  550.         <!-- End Card Grid -->
  551.         <!-- Hero -->
  552.         <div class=\"shape-container overflow-hidden\">
  553.             <div class=\"bg-dark\"
  554.                  style=\"background-image: url(";
  555.         // line 259
  556.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html"nulltrue);
  557.         echo ");\">
  558.                 <div class=\"container content-space-1 content-space-t-md-3 content-space-b-md-4\">
  559.                     <div class=\"position-relative w-lg-75 text-center mx-lg-auto\">
  560.                         <div class=\"mb-7\">
  561.                             <h1 class=\"fw-normal mb-4 font-size-md-down-1 text-white\">A propos du <span
  562.                                         class=\"text-warning fw-semibold\">blog</span></h1>
  563.                             <p class=\"d-block d-inline lead text-white\">
  564.                                 <span class=\"text-warning\">Mon Centre Auditif</span> s’efforce à travers ce blog de vous
  565.                                 informer sur l’univers de l’audition.
  566.                                 Notre objectif est de rendre l’accès aux <strong>soins auditifs</strong> plus simple et
  567.                                 plus fluide pour les
  568.                                 personnes en recherche d’équipement. <br>
  569.                                 Du <strong>bilan auditif</strong> jusqu’à l’appareillage en passant par la prescription
  570.                                 médicale de l’ORL, nous allons
  571.                                 ensemble aborder les différents sujets qui entourent la perte auditive.<br><br>
  572.                                 Vous avez des questions ou des doutes sur votre santé auditive, n’hésitez pas à
  573.                                 consulter un
  574.                                 professionnel proche de chez vous. <br>
  575.                                 Nos différents rédacteurs vous apporteront un maximum d’informations vulgarisées sur les
  576.                                 solutions
  577.                                 auditives du marché, les mécanismes de remboursements, les dernières technologies et
  578.                                 l’actualité de
  579.                                 l’univers de l’audioprothèse.
  580.                             </p>
  581.                         </div>
  582.                         <!-- End Row -->
  583.                     </div>
  584.                 </div>
  585.             </div>
  586.             <!-- Shape -->
  587.             <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.125rem\">
  588.                 <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1920 100.1\">
  589.                     <path fill=\"#fff\" d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  590.                 </svg>
  591.             </div>
  592.             <!-- End Shape -->
  593.         </div>
  594.         <!-- End Hero -->
  595.     </main>
  596.     <!-- ========== END MAIN CONTENT ========== -->
  597. ";
  598.         
  599.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  600.         
  601.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  602.     }
  603.     // line 303
  604.     public function block_javascripts($context, array $blocks = [])
  605.     {
  606.         $macros $this->macros;
  607.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  608.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  609.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  610.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  611.         // line 304
  612.         echo "    ";
  613.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("blog_list");
  614.         echo "
  615. ";
  616.         
  617.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  618.         
  619.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  620.     }
  621.     public function getTemplateName()
  622.     {
  623.         return "front_v4/mca/blog/list.html.twig";
  624.     }
  625.     public function isTraitable()
  626.     {
  627.         return false;
  628.     }
  629.     public function getDebugInfo()
  630.     {
  631.         return array (  670 => 304,  660 => 303,  607 => 259,  594 => 248,  588 => 244,  568 => 230,  564 => 229,  557 => 224,  553 => 223,  546 => 219,  542 => 217,  540 => 216,  537 => 215,  532 => 212,  520 => 206,  513 => 202,  505 => 201,  497 => 196,  494 => 195,  490 => 194,  482 => 188,  480 => 187,  459 => 169,  453 => 166,  448 => 164,  443 => 162,  430 => 151,  423 => 148,  421 => 147,  418 => 146,  416 => 145,  408 => 139,  401 => 137,  395 => 135,  378 => 121,  374 => 120,  366 => 115,  358 => 114,  347 => 106,  342 => 104,  336 => 101,  325 => 93,  317 => 92,  314 => 91,  308 => 86,  300 => 81,  296 => 80,  285 => 72,  281 => 71,  273 => 66,  265 => 65,  251 => 58,  248 => 57,  246 => 56,  241 => 55,  236 => 54,  219 => 39,  217 => 38,  211 => 34,  201 => 33,  188 => 30,  178 => 29,  167 => 26,  164 => 25,  159 => 23,  158 => 22,  154 => 21,  152 => 20,  147 => 18,  145 => 17,  143 => 16,  139 => 15,  137 => 14,  134 => 13,  131 => 12,  128 => 11,  125 => 10,  122 => 9,  119 => 8,  116 => 7,  106 => 6,  87 => 4,  63 => 3,  40 => 1,);
  632.     }
  633.     public function getSourceContext()
  634.     {
  635.         return new Source("{% extends 'front_v4/base.html.twig' %}
  636. {% block meta_title %}Mon Centre Auditif - Découvrez notre blog {% if pagination is defined and pagination is not null and pagination.params is not empty %} | Page {{ pagination.currentPageNumber }} {% endif %}{% endblock meta_title %}
  637. {% block meta_description %}Retrouvez toutes nos publications relatives à l'audition pour vous informer sur l'univers de l'aide auditive{% endblock meta_description %}
  638. {% block meta_custom %}
  639.     {% if pagination is defined and pagination is not null %}
  640.         {% set numberOfPage = pagination.totalItemCount / pagination.itemNumberPerPage %}
  641.         {% if numberOfPage > 1 %}
  642.             {% set next = pagination.currentPageNumber+1 %}
  643.             {% set prev = pagination.currentPageNumber-1 %}
  644.             {% if pagination.currentPageNumber == 1 %}
  645.                 {% set next = pagination.currentPageNumber+1 %}
  646.                 <link rel=\"next\" href=\"{{ path(app.request.attributes.get('_route'),
  647.                     app.request.attributes.get('_route_params')) ~ \"?page=\" ~ next }}\"/>
  648.             {% elseif pagination.currentPageNumber == numberOfPage %}
  649.                 <link rel=\"prev\" href=\"{{ path(app.request.attributes.get('_route'),
  650.                     app.request.attributes.get('_route_params')) ~ \"?page=\" ~ prev }}\"/>
  651.             {% else %}
  652.                 <link rel=\"next\" href=\"{{ path(app.request.attributes.get('_route'),
  653.                     app.request.attributes.get('_route_params')) ~ \"?page=\" ~ next }}\"/>
  654.                 <link rel=\"prev\" href=\"{{ path(app.request.attributes.get('_route'),
  655.                     app.request.attributes.get('_route_params')) ~ \"?page=\" ~ prev }}\"/>
  656.             {% endif %}
  657.         {% endif %}
  658.     {% endif %}
  659. {% endblock meta_custom %}
  660. {% block stylesheets %}
  661.     {{ encore_entry_link_tags('blog_list') }}
  662. {% endblock stylesheets %}
  663. {% block content %}
  664.     <div id=\"header\"></div>
  665.     <!-- ========== MAIN CONTENT ========== -->
  666.     <main id=\"content\" role=\"main\">
  667.         <!-- Blog Carousel -->
  668.         {% include 'front_v4/mca/blog/_blog_swiper.html.twig' %}
  669.         <!-- End Blog Carousel -->
  670.         <!-- Card Grid -->
  671.         <div class=\"container content-space-2\">
  672.             <!-- Hero -->
  673.             <div class=\"content-space-b-1\">
  674.                 <div class=\"w-md-75 text-center mx-md-auto\">
  675.                     <h1 class=\"\">Le blog de l'audition</h1>
  676.                     <p class=\"lead\">Découvrez les dernières actualités sur l'univers de l'audition.</p>
  677.                 </div>
  678.             </div>
  679.             <!-- End Hero -->
  680.             <div class=\"row justify-content-lg-between\">
  681.                 <div class=\"col-lg-8 mb-10 mb-lg-0\">
  682.                     <div class=\"d-grid gap-7 mb-7\">
  683.                         {% for post in pagination %}
  684.                             <a href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">
  685.                                 {% if post.isPillarPage == true %}
  686.                                     <div class=\"card card-transition align-items-start flex-wrap flex-row bg-img-start gradient-overlay-half-dark-v2\"
  687.                                          style=\"background-image: url('{% if post.filename %} {{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_extra_large') }} {% endif %}'); min-height: 25rem;\">
  688.                                         <!-- Card Header -->
  689.                                         <div class=\"card-header w-100\">
  690.                                             <div class=\"d-flex align-items-center\">
  691.                                                 <div class=\"flex-shrink-0\">
  692.                         <span class=\"avatar avatar-sm avatar-circle\">
  693.                           <img class=\"avatar-img\"
  694.                                src=\"{% if post.blogAuthor.filename %} {{ vich_uploader_asset(post.blogAuthor, 'imageFile') | imagine_filter('author_image_small') }} {% endif %}\"
  695.                                alt=\"{{ post.blogAuthor.firstname }}\">
  696.                         </span>
  697.                                                 </div>
  698.                                                 <div class=\"flex-grow-1 ms-3\">
  699.                                                     <h4 class=\"card-title text-white mb-0\">{{ post.blogAuthor.firstname }}</h4>
  700.                                                     <p class=\"card-text text-white-70 small\">{{ post.createdAt|format_date('medium') }}</p>
  701.                                                 </div>
  702.                                             </div>
  703.                                         </div>
  704.                                         <!-- End Card Header -->
  705.                                         <!-- Card Footer -->
  706.                                         <div class=\"card-footer mt-auto\">
  707.                                             <h3 class=\"h2 text-white\">{{ post.title }}</h3>
  708.                                             <p class=\"text-white-70\">{{ post.body|striptags|truncate(120, true)|raw|nl2br }}</p>
  709.                                         </div>
  710.                                         <!-- End Card Footer -->
  711.                                     </div>
  712.                                 {% else %}
  713.                                     <!-- Card -->
  714.                                     <div class=\"card card-flush card-stretched-vertical\">
  715.                                         <div class=\"row\">
  716.                                             <div class=\"col-sm-5\">
  717.                                                 {# img size : 400x500 #}
  718.                                                 <img class=\"card-img\"
  719.                                                      src=\"{% if post.filename %} {{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_small') }} {% endif %}\"
  720.                                                      alt=\"{{ post.title }}\">
  721.                                             </div>
  722.                                             <!-- End Col -->
  723.                                             <div class=\"col-sm-7\">
  724.                                                 <!-- Card Body -->
  725.                                                 <div class=\"card-body\">
  726.                                                     <div class=\"mb-2\">
  727.                                                         <h5 class=\"text-primary\">{{ post.blogCategory }}</h5>
  728.                                                     </div>
  729.                                                     <h3 class=\"card-title text-dark\">{{ post.title }}</h3>
  730.                                                     <p class=\"card-text\">{{ post.body|striptags|truncate(250, true)|raw|nl2br }}</p>
  731.                                                     <!-- Card Footer -->
  732.                                                     <div class=\"card-footer\">
  733.                                                         <div class=\"d-flex\">
  734.                                                             <div class=\"flex-shrink-0\">
  735.                                                                 <h4 class=\"avatar avatar-circle\">
  736.                                                                     <img class=\"avatar-img\"
  737.                                                                          src=\"{% if post.blogAuthor.filename %} {{ vich_uploader_asset(post.blogAuthor, 'imageFile') | imagine_filter('author_image_small') }} {% endif %}\"
  738.                                                                          alt=\"{{ post.blogAuthor.firstname }}\">
  739.                                                                 </h4>
  740.                                                             </div>
  741.                                                             <div class=\"flex-grow-1 ms-3\">
  742.                                                                 <h4 class=\"mb-0\">{{ post.blogAuthor.firstname }}</h4>
  743.                                                                 <p class=\"card-text small\">{{ post.createdAt|format_date('medium') }}</p>
  744.                                                             </div>
  745.                                                         </div>
  746.                                                     </div>
  747.                                                     <!-- End Card Footer -->
  748.                                                 </div>
  749.                                                 <!-- End Card Body -->
  750.                                             </div>
  751.                                             <!-- End Col -->
  752.                                         </div>
  753.                                         <!-- End Row -->
  754.                                     </div>
  755.                                     <!-- End Card -->
  756.                                 {% endif %}
  757.                             </a>
  758.                         {% else %}
  759.                             <p class=\"h5 fw-bold mx-3\">Aucun article trouvé</p>
  760.                         {% endfor %}
  761.                     </div>
  762.                     <!-- Sticky Block End Point -->
  763.                     <div id=\"stickyBlockEndPoint\"></div>
  764.                     <!-- Pagination -->
  765.                     {% if pagination is defined and pagination is not null %}
  766.                         <div class=\"navigation pagination d-flex justify-content-center mt-5\">
  767.                             {% do pagination.setTemplate('@KnpPaginator/Pagination/twitter_bootstrap_v4_pagination.html.twig') %}
  768.                             {{ knp_pagination_render(pagination) }}
  769.                         </div>
  770.                     {% endif %}
  771.                     <!-- End Pagination -->
  772.                 </div>
  773.                 <!-- End Col -->
  774.                 <div class=\"col-lg-3\">
  775.                     <div class=\"mb-7\">
  776.                         <div class=\"mb-3\">
  777.                             <h3>Rechercher un article</h3>
  778.                         </div>
  779.                         <!-- Search -->
  780.                         {{ form_start(form) }}
  781.                         <div class=\"input-group\">
  782.                             {{ form_widget(form.keyword) }}
  783.                             <div class=\"input-group-append\">
  784.                                 {{ form_widget(form.submit) }}
  785.                             </div>
  786.                         </div>
  787.                         {{ form_end(form) }}
  788.                         <!-- End Search -->
  789.                         <p class=\"form-text\">Saisissez un mot-clé pour effectuer une recherche parmi tous nos
  790.                             articles.</p>
  791.                     </div>
  792.                     <!-- Sticky Block Start Point -->
  793.                     <div id=\"stickyBlockStartPoint\"></div>
  794.                     <div class=\"js-sticky-block\"
  795.                          data-hs-sticky-block-options='{
  796.                  \"parentSelector\": \"#stickyBlockStartPoint\",
  797.                  \"targetSelector\": \"#header\",
  798.                  \"breakpoint\": \"md\",
  799.                  \"startPoint\": \"#stickyBlockStartPoint\",
  800.                  \"endPoint\": \"#stickyBlockEndPoint\",
  801.                  \"stickyOffsetTop\": 80
  802.                }'>
  803.                         {% if randomPageByCategory is defined and randomPageByCategory is not empty %}
  804.                             <div class=\"mb-7\">
  805.                                 <div class=\"mb-3\">
  806.                                     <h3>Notre sélection</h3>
  807.                                 </div>
  808.                                 <div class=\"d-grid gap-2\">
  809.                                     {% for post in randomPageByCategory %}
  810.                                         <!-- Card -->
  811.                                         <a class=\"d-block\" href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">
  812.                                             <div class=\"d-flex align-items-center\">
  813.                                                 <div class=\"flex-shrink-0\">
  814.                                                     <div class=\"avatar avatar-lg\">
  815.                                                         <img class=\"avatar-img\"
  816.                                                              src=\"{% if post.filename %} {{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_small') }} {% endif %}\"
  817.                                                              alt=\"{{ post.title }}\">
  818.                                                     </div>
  819.                                                 </div>
  820.                                                 <div class=\"flex-grow-1 ms-3\">
  821.                                                     <h5 class=\"text-inherit mb-0\">{{ post.title }}</h5>
  822.                                                 </div>
  823.                                             </div>
  824.                                         </a>
  825.                                         <!-- End Card -->
  826.                                     {% endfor %}
  827.                                 </div>
  828.                             </div>
  829.                         {% endif %}
  830.                         {% if featuredCategory is defined and featuredCategory is not empty %}
  831.                         <div class=\"mb-7\">
  832.                             <div class=\"mb-3\">
  833.                                 <h3>{{ featuredCategory.name }}</h3>
  834.                             </div>
  835.                             <!-- List Group -->
  836.                             <ul class=\"list-group list-group-lg\">
  837.                                 {% for post in featuredLastedPostByCategory %}
  838.                                     <!-- Item -->
  839.                                     <li class=\"list-group-item\">
  840.                                         <a href=\"#\">
  841.                                             <div class=\"row align-items-center\">
  842.                                                 <div class=\"col\">
  843.                                                     <h5 class=\"mb-1\">{{ post.title }}</h5>
  844.                                                     <p class=\"text-body small mb-0\">{{ post.createdAt|format_date('medium') }}</p>
  845.                                                 </div>
  846.                                                 <!-- End Col -->
  847.                                                 <div class=\"col-auto\">
  848.                                                     <i class=\"bi-chevron-right\"></i>
  849.                                                 </div>
  850.                                                 <!-- End Col -->
  851.                                             </div>
  852.                                             <!-- End Row -->
  853.                                         </a>
  854.                                     </li>
  855.                                     <!-- End Item -->
  856.                                 {% endfor %}
  857.                             </ul>
  858.                             <!-- End List Group -->
  859.                         </div>
  860.                         {% endif %}
  861.                     </div>
  862.                 </div>
  863.                 <!-- End Col -->
  864.             </div>
  865.             <!-- End Row -->
  866.         </div>
  867.         <!-- End Card Grid -->
  868.         <!-- Hero -->
  869.         <div class=\"shape-container overflow-hidden\">
  870.             <div class=\"bg-dark\"
  871.                  style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
  872.                 <div class=\"container content-space-1 content-space-t-md-3 content-space-b-md-4\">
  873.                     <div class=\"position-relative w-lg-75 text-center mx-lg-auto\">
  874.                         <div class=\"mb-7\">
  875.                             <h1 class=\"fw-normal mb-4 font-size-md-down-1 text-white\">A propos du <span
  876.                                         class=\"text-warning fw-semibold\">blog</span></h1>
  877.                             <p class=\"d-block d-inline lead text-white\">
  878.                                 <span class=\"text-warning\">Mon Centre Auditif</span> s’efforce à travers ce blog de vous
  879.                                 informer sur l’univers de l’audition.
  880.                                 Notre objectif est de rendre l’accès aux <strong>soins auditifs</strong> plus simple et
  881.                                 plus fluide pour les
  882.                                 personnes en recherche d’équipement. <br>
  883.                                 Du <strong>bilan auditif</strong> jusqu’à l’appareillage en passant par la prescription
  884.                                 médicale de l’ORL, nous allons
  885.                                 ensemble aborder les différents sujets qui entourent la perte auditive.<br><br>
  886.                                 Vous avez des questions ou des doutes sur votre santé auditive, n’hésitez pas à
  887.                                 consulter un
  888.                                 professionnel proche de chez vous. <br>
  889.                                 Nos différents rédacteurs vous apporteront un maximum d’informations vulgarisées sur les
  890.                                 solutions
  891.                                 auditives du marché, les mécanismes de remboursements, les dernières technologies et
  892.                                 l’actualité de
  893.                                 l’univers de l’audioprothèse.
  894.                             </p>
  895.                         </div>
  896.                         <!-- End Row -->
  897.                     </div>
  898.                 </div>
  899.             </div>
  900.             <!-- Shape -->
  901.             <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.125rem\">
  902.                 <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1920 100.1\">
  903.                     <path fill=\"#fff\" d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  904.                 </svg>
  905.             </div>
  906.             <!-- End Shape -->
  907.         </div>
  908.         <!-- End Hero -->
  909.     </main>
  910.     <!-- ========== END MAIN CONTENT ========== -->
  911. {% endblock content %}
  912. {% block javascripts %}
  913.     {{ encore_entry_script_tags('blog_list') }}
  914. {% endblock javascripts %}
  915. ""front_v4/mca/blog/list.html.twig""/var/www/hearing_store_locator/templates/front_v4/mca/blog/list.html.twig");
  916.     }
  917. }