var/cache/dev/twig/31/31bb18ff79d6aa1ec0b68f0a071a9afc.php line 50

  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. /* ricette/recipeDetail.html.twig */
  14. class __TwigTemplate_ec5f8e6adc5efe1fb902378806add637 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_alternate' => [$this'block_meta_alternate'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ricette/recipeDetail.html.twig"));
  38.         // line 3
  39.         $macros["page"] = $this->macros["page"] = $this->loadTemplate("partials/macros/_breadcrumbs.html.twig""ricette/recipeDetail.html.twig"3)->unwrap();
  40.         // line 1
  41.         $this->parent $this->loadTemplate("base.html.twig""ricette/recipeDetail.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.     }
  46.     // line 5
  47.     public function block_meta_alternate($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_alternate"));
  52.         echo "";
  53.         
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  55.     }
  56.     // line 7
  57.     public function block_javascripts($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  62.         // line 8
  63.         echo "    <script type=\"application/ld+json\">
  64.         {
  65.             \"@context\": \"https://schema.org/\",
  66.             \"@type\": \"Recipe\",
  67.             \"name\": \"";
  68.         // line 12
  69.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "title", [], "any"falsefalsefalse12), "html"nulltrue);
  70.         echo "\",
  71.             \"image\": [
  72.                 \"";
  73.         // line 14
  74.         echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/ricette/" twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "image", [], "any"falsefalsefalse14)), "size_1000_700"), "html"nulltrue);
  75.         echo "\"
  76.             ],
  77.             \"keywords\": \"";
  78.         // line 16
  79.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "people", [], "any"falsefalsefalse16), "html"nulltrue);
  80.         echo " ";
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.people", [], "pages"), "html"nulltrue);
  82.         echo ", ";
  83.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "difficulty", [], "any"falsefalsefalse16), "html"nulltrue);
  84.         echo "\",
  85.             \"totalTime\": \"PT";
  86.         // line 17
  87.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "time", [], "any"falsefalsefalse17), "html"nulltrue);
  88.         echo "M\",
  89.             \"recipeCategory\": \"";
  90.         // line 18
  91.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "type", [], "any"falsefalsefalse18), "name", [], "any"falsefalsefalse18), "html"nulltrue);
  92.         echo "\",
  93.             ";
  94.         // line 19
  95.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "ingredients", [], "any"falsefalsefalse19)) {
  96.             // line 20
  97.             echo "                \"recipeIngredient\": [
  98.                     ";
  99.             // line 21
  100.             $context['_parent'] = $context;
  101.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "ingredients", [], "any"falsefalsefalse21));
  102.             $context['loop'] = [
  103.               'parent' => $context['_parent'],
  104.               'index0' => 0,
  105.               'index'  => 1,
  106.               'first'  => true,
  107.             ];
  108.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  109.                 $length count($context['_seq']);
  110.                 $context['loop']['revindex0'] = $length 1;
  111.                 $context['loop']['revindex'] = $length;
  112.                 $context['loop']['length'] = $length;
  113.                 $context['loop']['last'] = === $length;
  114.             }
  115.             foreach ($context['_seq'] as $context["_key"] => $context["ingredient"]) {
  116.                 // line 22
  117.                 echo "                        \"";
  118.                 echo twig_escape_filter($this->env$context["ingredient"], "html"nulltrue);
  119.                 echo "\"";
  120.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse22)) {
  121.                     echo ",";
  122.                 }
  123.                 // line 23
  124.                 echo "                    ";
  125.                 ++$context['loop']['index0'];
  126.                 ++$context['loop']['index'];
  127.                 $context['loop']['first'] = false;
  128.                 if (isset($context['loop']['length'])) {
  129.                     --$context['loop']['revindex0'];
  130.                     --$context['loop']['revindex'];
  131.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  132.                 }
  133.             }
  134.             $_parent $context['_parent'];
  135.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ingredient'], $context['_parent'], $context['loop']);
  136.             $context array_intersect_key($context$_parent) + $_parent;
  137.             // line 24
  138.             echo "                ],
  139.             ";
  140.         }
  141.         // line 26
  142.         echo "            ";
  143.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "method", [], "any"falsefalsefalse26)) {
  144.             // line 27
  145.             echo "                \"recipeInstructions\": [
  146.                     \"";
  147.             // line 28
  148.             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "method", [], "any"falsefalsefalse28), ["\"" => ""]), "html"nulltrue);
  149.             echo "\"
  150.                 ]
  151.             ";
  152.         }
  153.         // line 31
  154.         echo "        }
  155.     </script>
  156. ";
  157.         
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159.     }
  160.     // line 35
  161.     public function block_content($context, array $blocks = [])
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  166.         // line 36
  167.         echo "
  168.     ";
  169.         // line 37
  170.         $context["product"] = twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "product", [], "any"falsefalsefalse37);
  171.         // line 38
  172.         echo "
  173.     ";
  174.         // line 39
  175.         $context["listBreadcrumbs"] = [=> [=> $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes"), => "menu.recipes"], => [=> ""=> twig_get_attribute($this->env$this->source,         // line 41
  176. ($context["recipe"] ?? null), "title", [], "any"falsefalsefalse41)]];
  177.         // line 43
  178.         echo "
  179.     ";
  180.         // line 44
  181.         echo twig_call_macro($macros["page"], "macro_breadcrumbs", [($context["listBreadcrumbs"] ?? null)], 44$context$this->getSourceContext());
  182.         echo "
  183.     <section class=\"wow animate__fadeIn padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  184.         <div class=\"container-fluid\">
  185.             <div class=\"row justify-content-center\">
  186.                 <div class=\"col col-md-8 text-center\">
  187.                     <h1>
  188.                         ";
  189.         // line 51
  190.         echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "title", [], "any"falsefalsefalse51)), "html"nulltrue);
  191.         echo "
  192.                     </h1>
  193.                 </div>
  194.             </div>
  195.         </div>
  196.     </section>
  197.     <section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  198.         <div class=\"container-fluid\">
  199.             <div class=\"row justify-content-center\">
  200.                 <div class=\"col-12 col-md-8 col-xl-7 sm-margin-15px-bottom wow animate__fadeInLeft\" data-wow-delay=\"0.2s\">
  201.                     <div class=\"h-550px lg-h-500px md-h-400px sm-h-350px overflow-hidden cover-background Bdrs(30px)\" style=\"background-image: url('";
  202.         // line 62
  203.         echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/ricette/" twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "image", [], "any"falsefalsefalse62)), "size_1000_700"), "html"nulltrue);
  204.         echo "')\">
  205.                     </div>
  206.                 </div>
  207.                 <div class=\"col-12 col-md-4 col-xl-3 wow animate__fadeInRight\" data-wow-delay=\"0.4s\">
  208.                     <div class=\"Bgc(la-rioja) d-flex flex-column align-items-center justify-content-center h-100 padding-20px-all overflow-hidden Bdrs(30px)\" data-parallax-background-ratio=\"0.7\" style=\"background-image: url('";
  209.         // line 66
  210.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/recipes/bg-leaf.webp"), "html"nulltrue);
  211.         echo "')\">
  212.                         <div>
  213.                             ";
  214.         // line 68
  215.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "people", [], "any"falsefalsefalse68)) {
  216.             // line 69
  217.             echo "                                <div class=\"d-flex align-items-center position-relative text-start margin-50px-bottom lg-margin-30px-bottom sm-margin-20px-bottom last-paragraph-no-margin\">
  218.                                     <div class=\"border-radius-50 d-flex margin-20px-right md-padding-10px-all padding-20px-all text-white md-w-50px w-70px md-h-50px Bgc(jewel) H(70px)\">
  219.                                         ";
  220.             // line 71
  221.             $this->loadTemplate("partials/svg/_icon_people.svg.twig""ricette/recipeDetail.html.twig"71)->display($context);
  222.             // line 72
  223.             echo "                                    </div>
  224.                                     <div>
  225.                                         <h4 class=\"text-white-2 margin-5px-bottom counter\" data-to=\"";
  226.             // line 74
  227.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "people", [], "any"falsefalsefalse74), "html"nulltrue);
  228.             echo "\" data-speed=\"1000\">
  229.                                             ";
  230.             // line 75
  231.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "people", [], "any"falsefalsefalse75), "html"nulltrue);
  232.             echo "
  233.                                         </h4>
  234.                                         <span class=\"text-uppercase position-relative top-minus4\">";
  235.             // line 77
  236.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.people", [], "pages"), "html"nulltrue);
  237.             echo "</span>
  238.                                     </div>
  239.                                 </div>
  240.                             ";
  241.         }
  242.         // line 81
  243.         echo "
  244.                             ";
  245.         // line 82
  246.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "time", [], "any"falsefalsefalse82)) {
  247.             // line 83
  248.             echo "                                <div class=\"d-flex align-items-center position-relative text-start margin-50px-bottom lg-margin-30px-bottom sm-margin-20px-bottom last-paragraph-no-margin\">
  249.                                     <div class=\"border-radius-50 d-flex margin-20px-right md-padding-10px-all padding-20px-all text-white md-w-50px w-70px md-h-50px Bgc(jewel) H(70px)\">
  250.                                         ";
  251.             // line 85
  252.             $this->loadTemplate("partials/svg/_icon_clock_time.svg.twig""ricette/recipeDetail.html.twig"85)->display($context);
  253.             // line 86
  254.             echo "                                    </div>
  255.                                     <div>
  256.                                         <h4 class=\"text-white-2 margin-5px-bottom counter\" data-to=\"";
  257.             // line 88
  258.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "time", [], "any"falsefalsefalse88), "html"nulltrue);
  259.             echo "\" data-speed=\"2000\">
  260.                                             ";
  261.             // line 89
  262.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "time", [], "any"falsefalsefalse89), "html"nulltrue);
  263.             echo "
  264.                                         </h4>
  265.                                         <span class=\"text-uppercase position-relative top-minus4\">";
  266.             // line 91
  267.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.minutes", [], "pages"), "html"nulltrue);
  268.             echo "</span>
  269.                                     </div>
  270.                                 </div>
  271.                             ";
  272.         }
  273.         // line 95
  274.         echo "
  275.                             ";
  276.         // line 96
  277.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "difficulty", [], "any"falsefalsefalse96)) {
  278.             // line 97
  279.             echo "                                <div class=\"d-flex align-items-center position-relative text-start margin-50px-bottom lg-margin-30px-bottom sm-margin-20px-bottom last-paragraph-no-margin\">
  280.                                     <div class=\"border-radius-50 d-flex margin-20px-right md-padding-10px-all padding-20px-all text-white md-w-50px w-70px md-h-50px Bgc(jewel) H(70px)\">
  281.                                         ";
  282.             // line 99
  283.             $this->loadTemplate("partials/svg/_icon_chef.svg.twig""ricette/recipeDetail.html.twig"99)->display($context);
  284.             // line 100
  285.             echo "                                    </div>
  286.                                     <div>
  287.                                         <h4 class=\"text-white-2 margin-5px-bottom\">
  288.                                             ";
  289.             // line 103
  290.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter(("recipes.filter.difficulty." twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "difficulty", [], "any"falsefalsefalse103)), [" " => "_"]), [], "pages")), "html"nulltrue);
  291.             echo "
  292.                                         </h4>
  293.                                         <span class=\"text-uppercase position-relative top-minus4\">";
  294.             // line 105
  295.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter("recipes_detail.difficulty", [" " => "_"]), [], "pages"), "html"nulltrue);
  296.             echo "</span>
  297.                                     </div>
  298.                                 </div>
  299.                             ";
  300.         }
  301.         // line 109
  302.         echo "
  303.                             ";
  304.         // line 110
  305.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "type", [], "any"falsefalsefalse110)) {
  306.             // line 111
  307.             echo "                                <div class=\"d-flex align-items-center position-relative text-start last-paragraph-no-margin\">
  308.                                     <div class=\"border-radius-50 d-flex margin-20px-right md-padding-10px-all padding-20px-all text-white md-w-50px w-70px md-h-50px Bgc(jewel) H(70px)\">
  309.                                         ";
  310.             // line 113
  311.             $this->loadTemplate("partials/svg/_icon_fork_and_knife.svg.twig""ricette/recipeDetail.html.twig"113)->display($context);
  312.             // line 114
  313.             echo "                                    </div>
  314.                                     <div>
  315.                                         <h4 class=\"text-white-2 margin-5px-bottom\">
  316.                                             ";
  317.             // line 117
  318.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter(("recipes.filter.types." twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "type", [], "any"falsefalsefalse117)), [" " => "_"]), [], "pages")), "html"nulltrue);
  319.             echo "
  320.                                         </h4>
  321.                                         <span class=\"text-uppercase position-relative top-minus4\">";
  322.             // line 119
  323.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.type", [], "pages"), "html"nulltrue);
  324.             echo "</span>
  325.                                     </div>
  326.                                 </div>
  327.                             ";
  328.         }
  329.         // line 123
  330.         echo "                        </div>
  331.                     </div>
  332.                 </div>
  333.             </div>
  334.         </div>
  335.     </section>
  336.     <section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  337.         <div class=\"container\">
  338.             <div class=\"row align-items-center justify-content-center\">
  339.                 ";
  340.         // line 133
  341.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "ingredients", [], "any"falsefalsefalse133)) {
  342.             // line 134
  343.             echo "                    <div class=\"col-12 col-md-8 sm-margin-15px-bottom wow animate__fadeInLeft\" data-wow-delay=\"0.2s\">
  344.                         <h3 class=\"margin-40px-bottom\">
  345.                             ";
  346.             // line 136
  347.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.ingredients", [], "pages"), "html"nulltrue);
  348.             echo "
  349.                         </h3>
  350.                         <div class=\"easyadmin-output\">
  351.                             <ul>
  352.                                 ";
  353.             // line 140
  354.             $context['_parent'] = $context;
  355.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "ingredients", [], "any"falsefalsefalse140));
  356.             foreach ($context['_seq'] as $context["_key"] => $context["ingredient"]) {
  357.                 // line 141
  358.                 echo "                                    <li class=\"margin-10px-bottom md-margin-5px-bottom\">
  359.                                         ";
  360.                 // line 142
  361.                 echo twig_escape_filter($this->env$context["ingredient"], "html"nulltrue);
  362.                 echo "
  363.                                     </li>
  364.                                 ";
  365.             }
  366.             $_parent $context['_parent'];
  367.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ingredient'], $context['_parent'], $context['loop']);
  368.             $context array_intersect_key($context$_parent) + $_parent;
  369.             // line 145
  370.             echo "                            </ul>
  371.                         </div>
  372.                     </div>
  373.                 ";
  374.         }
  375.         // line 149
  376.         echo "                <div class=\"col-9 ";
  377.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "ingredients", [], "any"falsefalsefalse149)) {
  378.             echo "col-md-4";
  379.         }
  380.         echo " wow animate__fadeInRight\" data-wow-delay=\"0.4s\">
  381.                     <a class=\"d-block\" href=\"";
  382.         // line 150
  383.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_show_product", ["category_slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse150), "productType", [], "any"falsefalsefalse150), "slug", [], "any"falsefalsefalse150), "product_slug" => twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "slug", [], "any"falsefalsefalse150)]), "html"nulltrue);
  384.         echo "\">
  385.                         <div class=\"productRow\">
  386.                             ";
  387.         // line 152
  388.         if (twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "new", [], "any"falsefalsefalse152)) {
  389.             // line 153
  390.             echo "                                ";
  391.             $this->loadTemplate("partials/badge/_badge_new.html.twig""ricette/recipeDetail.html.twig"153)->display($context);
  392.             // line 154
  393.             echo "                            ";
  394.         }
  395.         // line 155
  396.         echo "                            <img class=\"w-100 product-png-shadow\" src=\"";
  397.         echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/product/" twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imagePackName", [], "any"falsefalsefalse155)), "size_700_890"), "html"nulltrue);
  398.         echo "\" alt=\"";
  399.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse155), "html"nulltrue);
  400.         echo "\">
  401.                         </div>
  402.                     </a>
  403.                 </div>
  404.             </div>
  405.         </div>
  406.     </section>
  407.     ";
  408.         // line 163
  409.         if (twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "method", [], "any"falsefalsefalse163)) {
  410.             // line 164
  411.             echo "        <section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  412.             <div class=\"Bgc(la-rioja) sm-padding-40px-top padding-60px-top padding-40px-bottom overflow-hidden Bdrs(30px)\" data-parallax-background-ratio=\"0.7\" style=\"background-image: url('";
  413.             // line 165
  414.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/recipes/bg-leaf.webp"), "html"nulltrue);
  415.             echo "')\">
  416.                 <div class=\"container\">
  417.                     <div class=\"row\">
  418.                         <div class=\"col-12\">
  419.                             <h3 class=\"C(jewel) margin-40px-bottom text-center\">
  420.                                 ";
  421.             // line 170
  422.             echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.method", [], "pages")), "html"nulltrue);
  423.             echo "
  424.                             </h3>
  425.                             <div class=\"easyadmin-output easyadmin-output_recipe-method\">
  426.                                 ";
  427.             // line 173
  428.             echo twig_replace_filter(twig_get_attribute($this->env$this->source, ($context["recipe"] ?? null), "method", [], "any"falsefalsefalse173), ["<div><br></div>" => ""]);
  429.             echo "
  430.                             </div>
  431.                         </div>
  432.                     </div>
  433.                 </div>
  434.             </div>
  435.         </section>
  436.     ";
  437.         }
  438.         // line 181
  439.         echo "
  440.     ";
  441.         // line 182
  442.         if ((twig_length_filter($this->env, ($context["recipesRelated"] ?? null)) > 0)) {
  443.             // line 183
  444.             echo "        <section class=\"padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  445.             <div class=\"container-fluid\">
  446.                 <div class=\"row justify-content-center\">
  447.                     <div class=\"col col-md-8 text-center\">
  448.                         <h3 class=\"margin-40px-bottom\">
  449.                             ";
  450.             // line 188
  451.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.other_recipes", [], "pages"), "html"nulltrue);
  452.             echo "
  453.                         </h3>
  454.                     </div>
  455.                 </div>
  456.                 <div class=\"row position-relative justify-content-center\">
  457.                     <div class=\"col-12 col-md-12 col-sm-9\">
  458.                         <div class=\"swiper-container swiper-pagination-bottom black-move blog-slider\"
  459.                             data-slider-options='{
  460.                                 \"slidesPerView\": 1,
  461.                                 \"allowTouchMove\": true,
  462.                                 \"loop\": false,
  463.                                 \"spaceBetween\": 30,
  464.                                 \"autoplay\": false,
  465.                                 \"keyboard\": {
  466.                                     \"enabled\": true,
  467.                                     \"onlyInViewport\": true
  468.                                 },
  469.                                 \"breakpoints\": {
  470.                                     \"992\": {
  471.                                         \"slidesPerView\": 3
  472.                                     },
  473.                                     \"768\": {
  474.                                         \"slidesPerView\": 2
  475.                                     }
  476.                                 },
  477.                                 \"pagination\": {
  478.                                     \"el\": \".swiper-pagination-recipes\",
  479.                                     \"clickable\": true
  480.                                 }
  481.                             }'>
  482.                             <div class=\"swiper-wrapper\">
  483.                                 ";
  484.             // line 219
  485.             $context['_parent'] = $context;
  486.             $context['_seq'] = twig_ensure_traversable(($context["recipesRelated"] ?? null));
  487.             $context['loop'] = [
  488.               'parent' => $context['_parent'],
  489.               'index0' => 0,
  490.               'index'  => 1,
  491.               'first'  => true,
  492.             ];
  493.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  494.                 $length count($context['_seq']);
  495.                 $context['loop']['revindex0'] = $length 1;
  496.                 $context['loop']['revindex'] = $length;
  497.                 $context['loop']['length'] = $length;
  498.                 $context['loop']['last'] = === $length;
  499.             }
  500.             foreach ($context['_seq'] as $context["_key"] => $context["recipeRelated"]) {
  501.                 // line 220
  502.                 echo "                                    <div class=\"swiper-slide\">
  503.                                         <div class=\"blog-post bg-white border-radius-10 overflow-hidden\">
  504.                                             <div class=\"blog-post-images border-radius-10 overflow-hidden position-relative\">
  505.                                                 <a href=\"";
  506.                 // line 223
  507.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes_detail", ["slug" => twig_get_attribute($this->env$this->source$context["recipeRelated"], "slug", [], "any"falsefalsefalse223)]), "html"nulltrue);
  508.                 echo "\">
  509.                                                     <img class=\"d-block\" src=\"";
  510.                 // line 224
  511.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/ricette/" twig_get_attribute($this->env$this->source$context["recipeRelated"], "image", [], "any"falsefalsefalse224)), "size_550_425"), "html"nulltrue);
  512.                 echo "\" alt=\"";
  513.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["recipeRelated"], "title", [], "any"falsefalsefalse224), "html"nulltrue);
  514.                 echo "\">
  515.                                                 </a>
  516.                                             </div>
  517.                                             <div class=\"post-details padding-20px-all\">
  518.                                                 <p class=\"post-sup-title C(la-rioja)\">
  519.                                                     <strong>
  520.                                                         ";
  521.                 // line 230
  522.                 echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter(("recipes.filter.types." twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["recipeRelated"], "type", [], "any"falsefalsefalse230), "name", [], "any"falsefalsefalse230)), [" " => "_"]), [], "pages")), "html"nulltrue);
  523.                 echo "
  524.                                                     </strong>
  525.                                                 </p>
  526.                                                 <a href=\"";
  527.                 // line 233
  528.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes_detail", ["slug" => twig_get_attribute($this->env$this->source$context["recipeRelated"], "slug", [], "any"falsefalsefalse233)]), "html"nulltrue);
  529.                 echo "\" class=\"post-title w-100 d-block lg-w-100 margin-15px-bottom C(jewel)\">
  530.                                                     <strong>
  531.                                                         ";
  532.                 // line 235
  533.                 echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["recipeRelated"], "title", [], "any"falsefalsefalse235)), "html"nulltrue);
  534.                 echo "
  535.                                                     </strong>
  536.                                                 </a>
  537.                                                 <div class=\"separator-line-horrizontal-full bg-medium-gray margin-20px-tb\"></div>
  538.                                                 <div class=\"d-flex\">
  539.                                                     <div class=\"d-flex align-items-center margin-20px-right\">
  540.                                                         <div class=\"border-radius-50 d-flex margin-5px-right padding-5px-all text-white w-35px Bgc(la-rioja) H(35px)\">
  541.                                                             ";
  542.                 // line 242
  543.                 $this->loadTemplate("partials/svg/_icon_chef.svg.twig""ricette/recipeDetail.html.twig"242)->display($context);
  544.                 // line 243
  545.                 echo "                                                        </div>
  546.                                                         <span>
  547.                                                             ";
  548.                 // line 245
  549.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter(("recipes.filter.difficulty." twig_get_attribute($this->env$this->source$context["recipeRelated"], "difficulty", [], "any"falsefalsefalse245)), [" " => "_"]), [], "pages"), "html"nulltrue);
  550.                 echo "
  551.                                                         </span>
  552.                                                     </div>
  553.                                                     <div class=\"d-flex align-items-center\">
  554.                                                         <div class=\"border-radius-50 d-flex margin-5px-right padding-5px-all text-white w-35px Bgc(la-rioja) H(35px)\">
  555.                                                             ";
  556.                 // line 250
  557.                 $this->loadTemplate("partials/svg/_icon_clock_time.svg.twig""ricette/recipeDetail.html.twig"250)->display($context);
  558.                 // line 251
  559.                 echo "                                                        </div>
  560.                                                         <span>
  561.                                                             ";
  562.                 // line 253
  563.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["recipeRelated"], "time", [], "any"falsefalsefalse253) . " ") . twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes.filter.time.default_value", [], "pages"))), "html"nulltrue);
  564.                 echo "
  565.                                                         </span>
  566.                                                     </div>
  567.                                                 </div>
  568.                                             </div>
  569.                                         </div>
  570.                                     </div>
  571.                                 ";
  572.                 ++$context['loop']['index0'];
  573.                 ++$context['loop']['index'];
  574.                 $context['loop']['first'] = false;
  575.                 if (isset($context['loop']['length'])) {
  576.                     --$context['loop']['revindex0'];
  577.                     --$context['loop']['revindex'];
  578.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  579.                 }
  580.             }
  581.             $_parent $context['_parent'];
  582.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recipeRelated'], $context['_parent'], $context['loop']);
  583.             $context array_intersect_key($context$_parent) + $_parent;
  584.             // line 261
  585.             echo "                            </div>
  586.                             <div class=\"swiper-pagination-recipes swiper-pagination\"></div>
  587.                         </div>
  588.                     </div>
  589.                 </div>
  590.             </div>
  591.         </section>
  592.     ";
  593.         }
  594.         // line 269
  595.         echo "
  596. ";
  597.         
  598.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  599.     }
  600.     public function getTemplateName()
  601.     {
  602.         return "ricette/recipeDetail.html.twig";
  603.     }
  604.     public function isTraitable()
  605.     {
  606.         return false;
  607.     }
  608.     public function getDebugInfo()
  609.     {
  610.         return array (  616 => 269,  606 => 261,  584 => 253,  580 => 251,  578 => 250,  570 => 245,  566 => 243,  564 => 242,  554 => 235,  549 => 233,  543 => 230,  532 => 224,  528 => 223,  523 => 220,  506 => 219,  472 => 188,  465 => 183,  463 => 182,  460 => 181,  449 => 173,  443 => 170,  435 => 165,  432 => 164,  430 => 163,  416 => 155,  413 => 154,  410 => 153,  408 => 152,  403 => 150,  396 => 149,  390 => 145,  381 => 142,  378 => 141,  374 => 140,  367 => 136,  363 => 134,  361 => 133,  349 => 123,  342 => 119,  337 => 117,  332 => 114,  330 => 113,  326 => 111,  324 => 110,  321 => 109,  314 => 105,  309 => 103,  304 => 100,  302 => 99,  298 => 97,  296 => 96,  293 => 95,  286 => 91,  281 => 89,  277 => 88,  273 => 86,  271 => 85,  267 => 83,  265 => 82,  262 => 81,  255 => 77,  250 => 75,  246 => 74,  242 => 72,  240 => 71,  236 => 69,  234 => 68,  229 => 66,  222 => 62,  208 => 51,  198 => 44,  195 => 43,  193 => 41,  192 => 39,  189 => 38,  187 => 37,  184 => 36,  177 => 35,  168 => 31,  162 => 28,  159 => 27,  156 => 26,  152 => 24,  138 => 23,  131 => 22,  114 => 21,  111 => 20,  109 => 19,  105 => 18,  101 => 17,  93 => 16,  88 => 14,  83 => 12,  77 => 8,  70 => 7,  57 => 5,  49 => 1,  47 => 3,  37 => 1,);
  611.     }
  612.     public function getSourceContext()
  613.     {
  614.         return new Source("""ricette/recipeDetail.html.twig""/var/www/releases/13/templates/ricette/recipeDetail.html.twig");
  615.     }
  616. }