var/cache/dev/twig/31/31bb18ff79d6aa1ec0b68f0a071a9afc.php line 40
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ricette/recipeDetail.html.twig */
class __TwigTemplate_ec5f8e6adc5efe1fb902378806add637 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_alternate' => [$this, 'block_meta_alternate'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ricette/recipeDetail.html.twig"));
// line 3
$macros["page"] = $this->macros["page"] = $this->loadTemplate("partials/macros/_breadcrumbs.html.twig", "ricette/recipeDetail.html.twig", 3)->unwrap();
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "ricette/recipeDetail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_meta_alternate($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_alternate"));
echo "";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 8
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"Recipe\",
\"name\": \"";
// line 12
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "title", [], "any", false, false, false, 12), "html", null, true);
echo "\",
\"image\": [
\"";
// line 14
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", false, false, false, 14)), "size_1000_700"), "html", null, true);
echo "\"
],
\"keywords\": \"";
// line 16
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "people", [], "any", false, false, false, 16), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.people", [], "pages"), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "difficulty", [], "any", false, false, false, 16), "html", null, true);
echo "\",
\"totalTime\": \"PT";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "time", [], "any", false, false, false, 17), "html", null, true);
echo "M\",
\"recipeCategory\": \"";
// line 18
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "type", [], "any", false, false, false, 18), "name", [], "any", false, false, false, 18), "html", null, true);
echo "\",
";
// line 19
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "ingredients", [], "any", false, false, false, 19)) {
// line 20
echo " \"recipeIngredient\": [
";
// line 21
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "ingredients", [], "any", false, false, false, 21));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["ingredient"]) {
// line 22
echo " \"";
echo twig_escape_filter($this->env, $context["ingredient"], "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 22)) {
echo ",";
}
// line 23
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ingredient'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo " ],
";
}
// line 26
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "method", [], "any", false, false, false, 26)) {
// line 27
echo " \"recipeInstructions\": [
\"";
// line 28
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "method", [], "any", false, false, false, 28), ["\"" => ""]), "html", null, true);
echo "\"
]
";
}
// line 31
echo " }
</script>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 36
echo "
";
// line 37
$context["product"] = twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "product", [], "any", false, false, false, 37);
// line 38
echo "
";
// line 39
$context["listBreadcrumbs"] = [1 => [0 => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes"), 1 => "menu.recipes"], 2 => [0 => "", 1 => twig_get_attribute($this->env, $this->source, // line 41
($context["recipe"] ?? null), "title", [], "any", false, false, false, 41)]];
// line 43
echo "
";
// line 44
echo twig_call_macro($macros["page"], "macro_breadcrumbs", [($context["listBreadcrumbs"] ?? null)], 44, $context, $this->getSourceContext());
echo "
<section class=\"wow animate__fadeIn padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col col-md-8 text-center\">
<h1>
";
// line 51
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "title", [], "any", false, false, false, 51)), "html", null, true);
echo "
</h1>
</div>
</div>
</div>
</section>
<section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-12 col-md-8 col-xl-7 sm-margin-15px-bottom wow animate__fadeInLeft\" data-wow-delay=\"0.2s\">
<div class=\"h-550px lg-h-500px md-h-400px sm-h-350px overflow-hidden cover-background Bdrs(30px)\" style=\"background-image: url('";
// line 62
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", false, false, false, 62)), "size_1000_700"), "html", null, true);
echo "')\">
</div>
</div>
<div class=\"col-12 col-md-4 col-xl-3 wow animate__fadeInRight\" data-wow-delay=\"0.4s\">
<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('";
// line 66
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/recipes/bg-leaf.webp"), "html", null, true);
echo "')\">
<div>
";
// line 68
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "people", [], "any", false, false, false, 68)) {
// line 69
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\">
<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)\">
";
// line 71
$this->loadTemplate("partials/svg/_icon_people.svg.twig", "ricette/recipeDetail.html.twig", 71)->display($context);
// line 72
echo " </div>
<div>
<h4 class=\"text-white-2 margin-5px-bottom counter\" data-to=\"";
// line 74
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "people", [], "any", false, false, false, 74), "html", null, true);
echo "\" data-speed=\"1000\">
";
// line 75
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "people", [], "any", false, false, false, 75), "html", null, true);
echo "
</h4>
<span class=\"text-uppercase position-relative top-minus4\">";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.people", [], "pages"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 81
echo "
";
// line 82
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "time", [], "any", false, false, false, 82)) {
// line 83
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\">
<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)\">
";
// line 85
$this->loadTemplate("partials/svg/_icon_clock_time.svg.twig", "ricette/recipeDetail.html.twig", 85)->display($context);
// line 86
echo " </div>
<div>
<h4 class=\"text-white-2 margin-5px-bottom counter\" data-to=\"";
// line 88
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "time", [], "any", false, false, false, 88), "html", null, true);
echo "\" data-speed=\"2000\">
";
// line 89
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "time", [], "any", false, false, false, 89), "html", null, true);
echo "
</h4>
<span class=\"text-uppercase position-relative top-minus4\">";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.minutes", [], "pages"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 95
echo "
";
// line 96
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "difficulty", [], "any", false, false, false, 96)) {
// line 97
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\">
<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)\">
";
// line 99
$this->loadTemplate("partials/svg/_icon_chef.svg.twig", "ricette/recipeDetail.html.twig", 99)->display($context);
// line 100
echo " </div>
<div>
<h4 class=\"text-white-2 margin-5px-bottom\">
";
// line 103
echo twig_escape_filter($this->env, twig_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", false, false, false, 103)), [" " => "_"]), [], "pages")), "html", null, true);
echo "
</h4>
<span class=\"text-uppercase position-relative top-minus4\">";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter("recipes_detail.difficulty", [" " => "_"]), [], "pages"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 109
echo "
";
// line 110
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "type", [], "any", false, false, false, 110)) {
// line 111
echo " <div class=\"d-flex align-items-center position-relative text-start last-paragraph-no-margin\">
<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)\">
";
// line 113
$this->loadTemplate("partials/svg/_icon_fork_and_knife.svg.twig", "ricette/recipeDetail.html.twig", 113)->display($context);
// line 114
echo " </div>
<div>
<h4 class=\"text-white-2 margin-5px-bottom\">
";
// line 117
echo twig_escape_filter($this->env, twig_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", false, false, false, 117)), [" " => "_"]), [], "pages")), "html", null, true);
echo "
</h4>
<span class=\"text-uppercase position-relative top-minus4\">";
// line 119
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.type", [], "pages"), "html", null, true);
echo "</span>
</div>
</div>
";
}
// line 123
echo " </div>
</div>
</div>
</div>
</div>
</section>
<section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
<div class=\"container\">
<div class=\"row align-items-center justify-content-center\">
";
// line 133
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "ingredients", [], "any", false, false, false, 133)) {
// line 134
echo " <div class=\"col-12 col-md-8 sm-margin-15px-bottom wow animate__fadeInLeft\" data-wow-delay=\"0.2s\">
<h3 class=\"margin-40px-bottom\">
";
// line 136
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.ingredients", [], "pages"), "html", null, true);
echo "
</h3>
<div class=\"easyadmin-output\">
<ul>
";
// line 140
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "ingredients", [], "any", false, false, false, 140));
foreach ($context['_seq'] as $context["_key"] => $context["ingredient"]) {
// line 141
echo " <li class=\"margin-10px-bottom md-margin-5px-bottom\">
";
// line 142
echo twig_escape_filter($this->env, $context["ingredient"], "html", null, true);
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ingredient'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
echo " </ul>
</div>
</div>
";
}
// line 149
echo " <div class=\"col-9 ";
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "ingredients", [], "any", false, false, false, 149)) {
echo "col-md-4";
}
echo " wow animate__fadeInRight\" data-wow-delay=\"0.4s\">
<a class=\"d-block\" href=\"";
// line 150
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->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "type", [], "any", false, false, false, 150), "productType", [], "any", false, false, false, 150), "slug", [], "any", false, false, false, 150), "product_slug" => twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "slug", [], "any", false, false, false, 150)]), "html", null, true);
echo "\">
<div class=\"productRow\">
";
// line 152
if (twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "new", [], "any", false, false, false, 152)) {
// line 153
echo " ";
$this->loadTemplate("partials/badge/_badge_new.html.twig", "ricette/recipeDetail.html.twig", 153)->display($context);
// line 154
echo " ";
}
// line 155
echo " <img class=\"w-100 product-png-shadow\" src=\"";
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", false, false, false, 155)), "size_700_890"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["product"] ?? null), "name", [], "any", false, false, false, 155), "html", null, true);
echo "\">
</div>
</a>
</div>
</div>
</div>
</section>
";
// line 163
if (twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "method", [], "any", false, false, false, 163)) {
// line 164
echo " <section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
<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('";
// line 165
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/recipes/bg-leaf.webp"), "html", null, true);
echo "')\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<h3 class=\"C(jewel) margin-40px-bottom text-center\">
";
// line 170
echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.method", [], "pages")), "html", null, true);
echo "
</h3>
<div class=\"easyadmin-output easyadmin-output_recipe-method\">
";
// line 173
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, ($context["recipe"] ?? null), "method", [], "any", false, false, false, 173), ["<div><br></div>" => ""]);
echo "
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 181
echo "
";
// line 182
if ((twig_length_filter($this->env, ($context["recipesRelated"] ?? null)) > 0)) {
// line 183
echo " <section class=\"padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col col-md-8 text-center\">
<h3 class=\"margin-40px-bottom\">
";
// line 188
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes_detail.other_recipes", [], "pages"), "html", null, true);
echo "
</h3>
</div>
</div>
<div class=\"row position-relative justify-content-center\">
<div class=\"col-12 col-md-12 col-sm-9\">
<div class=\"swiper-container swiper-pagination-bottom black-move blog-slider\"
data-slider-options='{
\"slidesPerView\": 1,
\"allowTouchMove\": true,
\"loop\": false,
\"spaceBetween\": 30,
\"autoplay\": false,
\"keyboard\": {
\"enabled\": true,
\"onlyInViewport\": true
},
\"breakpoints\": {
\"992\": {
\"slidesPerView\": 3
},
\"768\": {
\"slidesPerView\": 2
}
},
\"pagination\": {
\"el\": \".swiper-pagination-recipes\",
\"clickable\": true
}
}'>
<div class=\"swiper-wrapper\">
";
// line 219
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["recipesRelated"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["recipeRelated"]) {
// line 220
echo " <div class=\"swiper-slide\">
<div class=\"blog-post bg-white border-radius-10 overflow-hidden\">
<div class=\"blog-post-images border-radius-10 overflow-hidden position-relative\">
<a href=\"";
// line 223
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", false, false, false, 223)]), "html", null, true);
echo "\">
<img class=\"d-block\" src=\"";
// line 224
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", false, false, false, 224)), "size_550_425"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recipeRelated"], "title", [], "any", false, false, false, 224), "html", null, true);
echo "\">
</a>
</div>
<div class=\"post-details padding-20px-all\">
<p class=\"post-sup-title C(la-rioja)\">
<strong>
";
// line 230
echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_replace_filter(("recipes.filter.types." . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["recipeRelated"], "type", [], "any", false, false, false, 230), "name", [], "any", false, false, false, 230)), [" " => "_"]), [], "pages")), "html", null, true);
echo "
</strong>
</p>
<a href=\"";
// line 233
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", false, false, false, 233)]), "html", null, true);
echo "\" class=\"post-title w-100 d-block lg-w-100 margin-15px-bottom C(jewel)\">
<strong>
";
// line 235
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["recipeRelated"], "title", [], "any", false, false, false, 235)), "html", null, true);
echo "
</strong>
</a>
<div class=\"separator-line-horrizontal-full bg-medium-gray margin-20px-tb\"></div>
<div class=\"d-flex\">
<div class=\"d-flex align-items-center margin-20px-right\">
<div class=\"border-radius-50 d-flex margin-5px-right padding-5px-all text-white w-35px Bgc(la-rioja) H(35px)\">
";
// line 242
$this->loadTemplate("partials/svg/_icon_chef.svg.twig", "ricette/recipeDetail.html.twig", 242)->display($context);
// line 243
echo " </div>
<span>
";
// line 245
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", false, false, false, 245)), [" " => "_"]), [], "pages"), "html", null, true);
echo "
</span>
</div>
<div class=\"d-flex align-items-center\">
<div class=\"border-radius-50 d-flex margin-5px-right padding-5px-all text-white w-35px Bgc(la-rioja) H(35px)\">
";
// line 250
$this->loadTemplate("partials/svg/_icon_clock_time.svg.twig", "ricette/recipeDetail.html.twig", 250)->display($context);
// line 251
echo " </div>
<span>
";
// line 253
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["recipeRelated"], "time", [], "any", false, false, false, 253) . " ") . twig_lower_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recipes.filter.time.default_value", [], "pages"))), "html", null, true);
echo "
</span>
</div>
</div>
</div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recipeRelated'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 261
echo " </div>
<div class=\"swiper-pagination-recipes swiper-pagination\"></div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 269
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "ricette/recipeDetail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("", "ricette/recipeDetail.html.twig", "/var/www/releases/13/templates/ricette/recipeDetail.html.twig");
}
}