var/cache/dev/twig/4a/4a6b96733e7aa852c1ddfc2c2c90d4d45254ce7d3e7742a8328522fd04552a8e.php line 118

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/author/single.html.twig */
  14. class __TwigTemplate_d007b4e5d11dab9835a0595d513608b5dc907c6c161f85e232bab09d78640439 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.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "front_v4/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/author/single.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/author/single.html.twig"));
  41.         $this->parent $this->loadTemplate("front_v4/base.html.twig""front_v4/mca/author/single.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_meta_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  56.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'3$this->source); })()), "metaTitle", [], "any"falsefalsefalse3), "html"nulltrue);
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 4
  63.     public function block_meta_description($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  70.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'4$this->source); })()), "metaDescription", [], "any"falsefalsefalse4), "html"nulltrue);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.     }
  76.     // line 6
  77.     public function block_meta_custom($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  84.         echo twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'6$this->source); })()), "metaCustom", [], "any"falsefalsefalse6);
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 8
  91.     public function block_content($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  98.         // line 9
  99.         echo "    <!-- ========== MAIN CONTENT ========== -->
  100.     <main id=\"content\" role=\"main\">
  101.         <!-- User Profile -->
  102.         <div class=\"container content-space-t-3 content-space-t-lg-4 content-space-b-1\">
  103.             <div class=\"w-md-75 w-lg-65 mx-md-auto\">
  104.                 <!-- Media -->
  105.                 <div class=\"d-sm-flex\">
  106.                     <div class=\"flex-shrink-0 mb-3 mb-sm-0\">
  107.                         <div class=\"avatar avatar-xxl avatar-circle\">
  108.                             ";
  109.         // line 19
  110.         echo "                            <img class=\"avatar-img\" src=\"";
  111.         if (twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'19$this->source); })()), "filename", [], "any"falsefalsefalse19)) {
  112.             echo " ";
  113.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'19$this->source); })()), "imageFile"), "author_image_medium"), "html"nulltrue);
  114.             echo " ";
  115.         }
  116.         echo "\" alt=\"";
  117.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'19$this->source); })()), "firstname", [], "any"falsefalsefalse19), "html"nulltrue);
  118.         echo " - Rédacteur Mon Centre Auditif\">
  119.                             <img class=\"bg-white position-absolute bottom-0 end-0 rounded-circle p-1\" src=\"";
  120.         // line 20
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/illustrations/top-vendor.svg"), "html"nulltrue);
  122.         echo "\" alt=\"Icon\" width=\"32\" height=\"32\" title=\"Top Writer\">
  123.                         </div>
  124.                     </div>
  125.                     <div class=\"flex-grow-1 ms-sm-4\">
  126.                         <!-- Media -->
  127.                         <div class=\"d-flex justify-content-between align-items-center mb-3\">
  128.                             <h1 class=\"h2 mb-0\">";
  129.         // line 27
  130.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'27$this->source); })()), "firstname", [], "any"falsefalsefalse27), "html"nulltrue);
  131.         echo " ";
  132.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'27$this->source); })()), "lastname", [], "any"falsefalsefalse27), "html"nulltrue);
  133.         echo "</h1>
  134.                         </div>
  135.                         <!-- End Media -->
  136.                         <div class=\"row mb-3\">
  137.                             <div class=\"col-auto\">
  138.                                 <span class=\"h6\">";
  139.         // line 33
  140.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'33$this->source); })()), "blogPosts", [], "any"falsefalsefalse33)), "html"nulltrue);
  141.         echo "</span>
  142.                                 <span>articles</span>
  143.                             </div>
  144.                             <!-- End Col -->
  145.                             ";
  146.         // line 38
  147.         if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'38$this->source); })()), "website", [], "any"falsefalsefalse38))) {
  148.             // line 39
  149.             echo "                            <div class=\"col-auto\">
  150.                                 <span class=\"h6\">Site web :</span>
  151.                                 <a href=\"";
  152.             // line 41
  153.             echo twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'41$this->source); })()), "website", [], "any"falsefalsefalse41);
  154.             echo "\" target=\"_blank\"><span class=\"ms-1\">";
  155.             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'41$this->source); })()), "website", [], "any"falsefalsefalse41), ["http://" => """https://" => ""]), "html"nulltrue);
  156.             echo "</span></a>
  157.                             </div>
  158.                             <!-- End Col -->
  159.                             ";
  160.         }
  161.         // line 45
  162.         echo "
  163. ";
  164.         // line 51
  165.         echo "                        </div>
  166.                         <!-- End Row -->
  167.                         <p>
  168.                             ";
  169.         // line 55
  170.         echo twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'55$this->source); })()), "description", [], "any"falsefalsefalse55);
  171.         echo "
  172.                         </p>
  173.                     </div>
  174.                 </div>
  175.                 <!-- End Media -->
  176.             </div>
  177.         </div>
  178.         <!-- End User Profile -->
  179.         <div class=\"container\">
  180.             <div class=\"border-top w-md-75 w-lg-65 mx-md-auto\"></div>
  181.         </div>
  182.         <!-- Card Grid -->
  183.         <div class=\"container content-space-1\">
  184.             <div class=\"w-md-75 w-lg-65 mx-md-auto\">
  185.                 ";
  186.         // line 71
  187.         $context['_parent'] = $context;
  188.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'71$this->source); })()));
  189.         foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  190.             // line 72
  191.             echo "                <!-- Card -->
  192.                 <div class=\"card mb-5 mb-md-10\">
  193.                     <div class=\"shape-container\">
  194.                         ";
  195.             // line 76
  196.             echo "                        <img class=\"card-img-top\" src=\"";
  197.             if (twig_get_attribute($this->env$this->source$context["post"], "filename", [], "any"falsefalsefalse76)) {
  198.                 echo " ";
  199.                 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_large"), "html"nulltrue);
  200.                 echo " ";
  201.             }
  202.             echo "\" alt=\"";
  203.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse76), "html"nulltrue);
  204.             echo "\">
  205.                         <!-- Shape -->
  206.                         <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.25rem\">
  207.                             <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1920 100.1\">
  208.                                 <path fill=\"#fff\" d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  209.                             </svg>
  210.                         </div>
  211.                         <!-- End Shape -->
  212.                     </div>
  213.                     <!-- Card Body -->
  214.                     <div class=\"card-body\">
  215.                         <h3 class=\"card-title\">
  216.                             <a class=\"text-dark\" href=\"";
  217.             // line 90
  218.             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"falsefalsefalse90)]), "html"nulltrue);
  219.             echo "\">";
  220.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse90), "html"nulltrue);
  221.             echo "</a>
  222.                         </h3>
  223.                         <p class=\"card-text\">";
  224.             // line 93
  225.             echo twig_nl2br(twig_slice($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["post"], "body", [], "any"falsefalsefalse93)), 0140));
  226.             echo " ...</p>
  227.                     </div>
  228.                     <!-- End Card Body -->
  229.                     <!-- Card Footer -->
  230.                     <div class=\"card-footer\">
  231.                         <div class=\"d-flex align-items-center\">
  232.                             <div class=\"flex-shrink-0\">
  233.                                 <a class=\"avatar avatar-xs avatar-circle\" href=\"#\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
  234.             // line 101
  235.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'101$this->source); })()), "firstname", [], "any"falsefalsefalse101), "html"nulltrue);
  236.             echo "\">
  237.                                     <img class=\"avatar-img\" src=\"";
  238.             // line 102
  239.             if (twig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'102$this->source); })()), "filename", [], "any"falsefalsefalse102)) {
  240.                 echo " ";
  241.                 echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'102$this->source); })()), "imageFile"), "author_image_medium"), "html"nulltrue);
  242.                 echo " ";
  243.             }
  244.             echo "\" alt=\"";
  245.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["author"]) || array_key_exists("author"$context) ? $context["author"] : (function () { throw new RuntimeError('Variable "author" does not exist.'102$this->source); })()), "firstname", [], "any"falsefalsefalse102), "html"nulltrue);
  246.             echo " - Rédacteur Mon Centre Auditif\">
  247.                                 </a>
  248.                             </div>
  249.                             <div class=\"flex-grow-1\">
  250.                                 <div class=\"d-flex justify-content-end\">
  251.                                     <p class=\"card-text\">";
  252.             // line 108
  253.             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"falsefalsefalse108), "medium"), "html"nulltrue);
  254.             echo "</p>
  255.                                 </div>
  256.                             </div>
  257.                         </div>
  258.                     </div>
  259.                     <!-- End Card Footer -->
  260.                 </div>
  261.                 <!-- End Card -->
  262.                 ";
  263.         }
  264.         $_parent $context['_parent'];
  265.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  266.         $context array_intersect_key($context$_parent) + $_parent;
  267.         // line 117
  268.         echo "                <!-- Pagination -->
  269.                 ";
  270.         // line 118
  271.         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.'118$this->source); })())))) {
  272.             // line 119
  273.             echo "                    <div class=\"navigation pagination mt-5 justify-content-center\">
  274.                         ";
  275.             // line 120
  276.             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.'120$this->source); })()), "setTemplate", [=> "@KnpPaginator/Pagination/twitter_bootstrap_v4_pagination.html.twig"], "method"falsefalsefalse120);
  277.             // line 121
  278.             echo "                        ";
  279.             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.'121$this->source); })()));
  280.             echo "
  281.                     </div>
  282.                 ";
  283.         }
  284.         // line 124
  285.         echo "                <!-- End Pagination -->
  286.             </div>
  287.         </div>
  288.         <!-- End Card Grid -->
  289.     </main>
  290.     <!-- ========== END MAIN CONTENT ========== -->
  291. ";
  292.         
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  294.         
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  296.     }
  297.     public function getTemplateName()
  298.     {
  299.         return "front_v4/mca/author/single.html.twig";
  300.     }
  301.     public function isTraitable()
  302.     {
  303.         return false;
  304.     }
  305.     public function getDebugInfo()
  306.     {
  307.         return array (  325 => 124,  318 => 121,  316 => 120,  313 => 119,  311 => 118,  308 => 117,  293 => 108,  278 => 102,  274 => 101,  263 => 93,  255 => 90,  231 => 76,  226 => 72,  222 => 71,  203 => 55,  197 => 51,  194 => 45,  185 => 41,  181 => 39,  179 => 38,  171 => 33,  160 => 27,  150 => 20,  139 => 19,  128 => 9,  118 => 8,  99 => 6,  80 => 4,  61 => 3,  38 => 1,);
  308.     }
  309.     public function getSourceContext()
  310.     {
  311.         return new Source("{% extends 'front_v4/base.html.twig' %}
  312. {% block meta_title %}{{ author.metaTitle }}{% endblock meta_title %}
  313. {% block meta_description %}{{ author.metaDescription }}{% endblock meta_description %}
  314. {% block meta_custom %}{{ author.metaCustom|raw }}{% endblock meta_custom %}
  315. {% block content %}
  316.     <!-- ========== MAIN CONTENT ========== -->
  317.     <main id=\"content\" role=\"main\">
  318.         <!-- User Profile -->
  319.         <div class=\"container content-space-t-3 content-space-t-lg-4 content-space-b-1\">
  320.             <div class=\"w-md-75 w-lg-65 mx-md-auto\">
  321.                 <!-- Media -->
  322.                 <div class=\"d-sm-flex\">
  323.                     <div class=\"flex-shrink-0 mb-3 mb-sm-0\">
  324.                         <div class=\"avatar avatar-xxl avatar-circle\">
  325.                             {# image size : 160x160 #}
  326.                             <img class=\"avatar-img\" src=\"{% if author.filename %} {{ vich_uploader_asset(author, 'imageFile') | imagine_filter('author_image_medium') }} {% endif %}\" alt=\"{{ author.firstname }} - Rédacteur Mon Centre Auditif\">
  327.                             <img class=\"bg-white position-absolute bottom-0 end-0 rounded-circle p-1\" src=\"{{asset('build/front_v4/svg/illustrations/top-vendor.svg')}}\" alt=\"Icon\" width=\"32\" height=\"32\" title=\"Top Writer\">
  328.                         </div>
  329.                     </div>
  330.                     <div class=\"flex-grow-1 ms-sm-4\">
  331.                         <!-- Media -->
  332.                         <div class=\"d-flex justify-content-between align-items-center mb-3\">
  333.                             <h1 class=\"h2 mb-0\">{{ author.firstname }} {{  author.lastname }}</h1>
  334.                         </div>
  335.                         <!-- End Media -->
  336.                         <div class=\"row mb-3\">
  337.                             <div class=\"col-auto\">
  338.                                 <span class=\"h6\">{{ author.blogPosts|length }}</span>
  339.                                 <span>articles</span>
  340.                             </div>
  341.                             <!-- End Col -->
  342.                             {% if author.website is not null %}
  343.                             <div class=\"col-auto\">
  344.                                 <span class=\"h6\">Site web :</span>
  345.                                 <a href=\"{{ author.website|raw }}\" target=\"_blank\"><span class=\"ms-1\">{{ author.website|replace({'http://': '', 'https://': ''}) }}</span></a>
  346.                             </div>
  347.                             <!-- End Col -->
  348.                             {% endif %}
  349. {#                            <div class=\"col-auto\">#}
  350. {#                                <span class=\"h6\">109</span>#}
  351. {#                                <span class=\"ms-1\">Following</span>#}
  352. {#                            </div>#}
  353. {#                            <!-- End Col -->#}
  354.                         </div>
  355.                         <!-- End Row -->
  356.                         <p>
  357.                             {{ author.description|raw }}
  358.                         </p>
  359.                     </div>
  360.                 </div>
  361.                 <!-- End Media -->
  362.             </div>
  363.         </div>
  364.         <!-- End User Profile -->
  365.         <div class=\"container\">
  366.             <div class=\"border-top w-md-75 w-lg-65 mx-md-auto\"></div>
  367.         </div>
  368.         <!-- Card Grid -->
  369.         <div class=\"container content-space-1\">
  370.             <div class=\"w-md-75 w-lg-65 mx-md-auto\">
  371.                 {% for post in pagination %}
  372.                 <!-- Card -->
  373.                 <div class=\"card mb-5 mb-md-10\">
  374.                     <div class=\"shape-container\">
  375.                         {# image size : 500x280 #}
  376.                         <img class=\"card-img-top\" src=\"{% if post.filename %} {{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_large') }} {% endif %}\" alt=\"{{ post.title }}\">
  377.                         <!-- Shape -->
  378.                         <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.25rem\">
  379.                             <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1920 100.1\">
  380.                                 <path fill=\"#fff\" d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  381.                             </svg>
  382.                         </div>
  383.                         <!-- End Shape -->
  384.                     </div>
  385.                     <!-- Card Body -->
  386.                     <div class=\"card-body\">
  387.                         <h3 class=\"card-title\">
  388.                             <a class=\"text-dark\" href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">{{ post.title }}</a>
  389.                         </h3>
  390.                         <p class=\"card-text\">{{ post.body|striptags|slice(0, 140)|raw|nl2br }} ...</p>
  391.                     </div>
  392.                     <!-- End Card Body -->
  393.                     <!-- Card Footer -->
  394.                     <div class=\"card-footer\">
  395.                         <div class=\"d-flex align-items-center\">
  396.                             <div class=\"flex-shrink-0\">
  397.                                 <a class=\"avatar avatar-xs avatar-circle\" href=\"#\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ author.firstname }}\">
  398.                                     <img class=\"avatar-img\" src=\"{% if author.filename %} {{ vich_uploader_asset(author, 'imageFile') | imagine_filter('author_image_medium') }} {% endif %}\" alt=\"{{ author.firstname }} - Rédacteur Mon Centre Auditif\">
  399.                                 </a>
  400.                             </div>
  401.                             <div class=\"flex-grow-1\">
  402.                                 <div class=\"d-flex justify-content-end\">
  403.                                     <p class=\"card-text\">{{ post.createdAt|format_date('medium') }}</p>
  404.                                 </div>
  405.                             </div>
  406.                         </div>
  407.                     </div>
  408.                     <!-- End Card Footer -->
  409.                 </div>
  410.                 <!-- End Card -->
  411.                 {% endfor %}
  412.                 <!-- Pagination -->
  413.                 {% if pagination is defined and pagination is not null %}
  414.                     <div class=\"navigation pagination mt-5 justify-content-center\">
  415.                         {% do pagination.setTemplate('@KnpPaginator/Pagination/twitter_bootstrap_v4_pagination.html.twig') %}
  416.                         {{ knp_pagination_render(pagination) }}
  417.                     </div>
  418.                 {% endif %}
  419.                 <!-- End Pagination -->
  420.             </div>
  421.         </div>
  422.         <!-- End Card Grid -->
  423.     </main>
  424.     <!-- ========== END MAIN CONTENT ========== -->
  425. {% endblock content %}
  426. ""front_v4/mca/author/single.html.twig""/var/www/hearing_store_locator/templates/front_v4/mca/author/single.html.twig");
  427.     }
  428. }