<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
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;
/* @DecomTheme/storefront/layout/breadcrumb.html.twig */
class __TwigTemplate_2f76dc82c57a6b3445e1a4a5c3fa25232f6cd3d97886c7b55ddd8ffc653cd7ba extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_breadcrumb_inner' => [$this, 'block_layout_breadcrumb_inner'],
'layout_breadcrumb_list' => [$this, 'block_layout_breadcrumb_list'],
'layout_breadcrumb_list_item' => [$this, 'block_layout_breadcrumb_list_item'],
'layout_breadcrumb_placeholder' => [$this, 'block_layout_breadcrumb_placeholder'],
'layout_breadcrumb_list_blog' => [$this, 'block_layout_breadcrumb_list_blog'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/layout/breadcrumb.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DecomTheme/storefront/layout/breadcrumb.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DecomTheme/storefront/layout/breadcrumb.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/layout/breadcrumb.html.twig", "@DecomTheme/storefront/layout/breadcrumb.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_layout_breadcrumb_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_inner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_inner"));
// line 4
echo " ";
if (($context["category"] ?? null)) {
// line 5
echo " ";
$context["breadcrumbCategories"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->getFullBreadcrumb($context, ($context["category"] ?? null), sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 5));
// line 6
echo " ";
$context["categoryId"] = sw_get_attribute($this->env, $this->source, ($context["category"] ?? null), "id", [], "any", false, false, false, 6);
// line 7
echo "
";
// line 9
echo " ";
$context["breadcrumb"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->buildSeoBreadcrumb($context, ($context["category"] ?? null));
// line 10
echo " ";
// line 11
echo " ";
$context["breadcrumbKeys"] = twig_get_array_keys_filter(($context["breadcrumb"] ?? null));
// line 12
echo " ";
// line 13
echo " ";
$context["breadcrumbTypes"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\BuildBreadcrumbExtension']->buildCategoryTypes(($context["breadcrumbCategories"] ?? null));
// line 14
echo "
";
// line 15
if ((1 === twig_compare(twig_length_filter($this->env, ($context["breadcrumbCategories"] ?? null)), 0))) {
echo "
";
// line 16
if ((0 === twig_compare(($context["controllerName"] ?? null), "Product"))) {
echo " <div class=\"container\"> ";
}
// line 17
echo " <nav aria-label=\"breadcrumb\">
";
// line 18
$this->displayBlock('layout_breadcrumb_list', $context, $blocks);
// line 77
echo " </nav>
";
// line 78
if ((0 === twig_compare(($context["controllerName"] ?? null), "Product"))) {
echo " </div> ";
}
// line 79
echo " ";
}
// line 80
echo " ";
}
// line 81
echo "
";
// line 82
if ((0 === twig_compare(($context["controllerName"] ?? null), "Blog"))) {
// line 83
echo " <nav aria-label=\"breadcrumb\">
";
// line 84
$this->displayBlock('layout_breadcrumb_list_blog', $context, $blocks);
// line 130
echo " </nav>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_layout_breadcrumb_list($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list"));
// line 19
echo " <ol class=\"breadcrumb\"
itemscope
itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item first-item\">
<a href=\"";
// line 24
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"";
// line 26
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
echo "\"/>
";
// line 27
echo sw_escape_filter($this->env, twig_capitalize_string_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 27), "name", [], "any", false, false, false, 27)), "html", null, true);
echo "
</a>
</li>
";
// line 31
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["breadcrumbCategories"] ?? 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["breadcrumbCategory"]) {
// line 32
echo " ";
$context["key"] = sw_get_attribute($this->env, $this->source, $context["breadcrumbCategory"], "id", [], "any", false, false, false, 32);
// line 33
echo " ";
$context["name"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, $context["breadcrumbCategory"], "translated", [], "any", false, false, false, 33), "name", [], "any", false, false, false, 33);
// line 34
echo "
";
// line 35
$this->displayBlock('layout_breadcrumb_list_item', $context, $blocks);
// line 57
echo "
";
// line 58
$this->displayBlock('layout_breadcrumb_placeholder', $context, $blocks);
// line 65
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['breadcrumbCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 66
echo "
";
// line 67
if ((0 === twig_compare(($context["controllerName"] ?? null), "Product"))) {
// line 68
echo " <li class=\"breadcrumb-item\"
itemprop=\"itemListElement\"
itemscope
itemtype=\"https://schema.org/ListItem\">
<span itemprop=\"name\">";
// line 72
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "translated", [], "any", false, false, false, 72), "name", [], "any", false, false, false, 72), "html", null, true);
echo "</span>
</li>
";
}
// line 75
echo " </ol>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 35
public function block_layout_breadcrumb_list_item($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list_item"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list_item"));
// line 36
echo " <li class=\"breadcrumb-item\"
";
// line 37
if ((($context["key"] ?? null) === ($context["categoryId"] ?? null))) {
echo "aria-current=\"page\"";
}
// line 38
echo " itemprop=\"itemListElement\"
itemscope
itemtype=\"https://schema.org/ListItem\">
";
// line 41
if ((0 === twig_compare(sw_get_attribute($this->env, $this->source, ($context["breadcrumbCategory"] ?? null), "type", [], "any", false, false, false, 41), "folder"))) {
// line 42
echo " <div itemprop=\"name\" style=\"display: inline-block;\">";
echo sw_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
echo "</div>
";
} else {
// line 44
echo " <a href=\"";
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->getCategoryUrl($context, ($context["breadcrumbCategory"] ?? null));
echo "\"
class=\"breadcrumb-link ";
// line 45
if ((($context["key"] ?? null) === ($context["categoryId"] ?? null))) {
echo " is-active";
}
echo "\"
title=\"";
// line 46
echo sw_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
echo "\"
";
// line 47
if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->isLinkNewTab(($context["breadcrumbCategory"] ?? null))) {
echo "target=\"_blank\"";
}
// line 48
echo " itemprop=\"item\">
<link itemprop=\"url\"
href=\"";
// line 50
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\CategoryUrlExtension']->getCategoryUrl($context, ($context["breadcrumbCategory"] ?? null));
echo "\"/>
<span class=\"breadcrumb-title\" itemprop=\"name\">";
// line 51
echo sw_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
echo "</span>
</a>
";
}
// line 54
echo " <meta itemprop=\"position\" content=\"";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["loop"] ?? null), "index", [], "any", false, false, false, 54), "html", null, true);
echo "\"/>
</li>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 58
public function block_layout_breadcrumb_placeholder($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_placeholder"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_placeholder"));
// line 59
echo " ";
if ((0 !== twig_compare(($context["key"] ?? null), twig_last($this->env, ($context["breadcrumbKeys"] ?? null))))) {
// line 60
echo " <div class=\"breadcrumb-placeholder\">
>
</div>
";
}
// line 64
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 84
public function block_layout_breadcrumb_list_blog($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list_blog"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_breadcrumb_list_blog"));
// line 85
echo " <ol class=\"breadcrumb\"
itemscope
itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item first-item\">
<a href=\"";
// line 90
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"";
// line 92
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.home.page");
echo "\"/>
";
// line 93
echo sw_escape_filter($this->env, twig_capitalize_string_filter($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "salesChannel", [], "any", false, false, false, 93), "name", [], "any", false, false, false, 93)), "html", null, true);
echo "
</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"/";
// line 98
echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html", null, true);
echo "/\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"/";
// line 100
echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html", null, true);
echo "/\"/>
";
// line 101
echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html", null, true);
echo "
</a>
</li>
";
// line 105
if (sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "blogCategories", [], "any", false, false, false, 105)) {
// line 106
echo " ";
if (sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "blogCategories", [], "any", false, false, false, 106), "elements", [], "any", false, false, false, 106)) {
echo "
";
// line 107
if (twig_first($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "blogCategories", [], "any", false, false, false, 107), "elements", [], "any", false, false, false, 107))) {
// line 108
echo " ";
$context["categoryElement"] = twig_first($this->env, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "blogCategories", [], "any", false, false, false, 108), "elements", [], "any", false, false, false, 108));
// line 109
echo " <li class=\"breadcrumb-item\">
<a href=\"/";
// line 110
echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html", null, true);
echo "/";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["categoryElement"] ?? null), "name", [], "any", false, false, false, 110), "html", null, true);
echo "/\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"/";
// line 112
echo sw_escape_filter($this->env, ($context["controllerName"] ?? null), "html", null, true);
echo "/";
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["categoryElement"] ?? null), "name", [], "any", false, false, false, 112), "html", null, true);
echo "/\"/>
";
// line 113
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["categoryElement"] ?? null), "name", [], "any", false, false, false, 113), "html", null, true);
echo "
</a>
</li>
";
}
// line 117
echo " ";
}
// line 118
echo " ";
}
// line 119
echo "
<li class=\"breadcrumb-item\">
";
// line 121
$context["currentPath"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 121), "attributes", [], "any", false, false, false, 121), "get", [0 => "sw-original-request-uri"], "method", false, false, false, 121);
// line 122
echo " <a href=\"";
echo sw_escape_filter($this->env, ($context["currentPath"] ?? null), "html", null, true);
echo "\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"";
// line 124
echo sw_escape_filter($this->env, ($context["currentPath"] ?? null), "html", null, true);
echo "\"/>
";
// line 125
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["misc"] ?? null), "title", [], "any", false, false, false, 125), "html", null, true);
echo "
</a>
</li>
</ol>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@DecomTheme/storefront/layout/breadcrumb.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 469 => 125, 465 => 124, 459 => 122, 457 => 121, 453 => 119, 450 => 118, 447 => 117, 440 => 113, 434 => 112, 427 => 110, 424 => 109, 421 => 108, 419 => 107, 414 => 106, 412 => 105, 405 => 101, 401 => 100, 396 => 98, 388 => 93, 384 => 92, 379 => 90, 372 => 85, 362 => 84, 352 => 64, 346 => 60, 343 => 59, 333 => 58, 319 => 54, 313 => 51, 309 => 50, 305 => 48, 301 => 47, 297 => 46, 291 => 45, 286 => 44, 280 => 42, 278 => 41, 273 => 38, 269 => 37, 266 => 36, 256 => 35, 245 => 75, 239 => 72, 233 => 68, 231 => 67, 228 => 66, 214 => 65, 212 => 58, 209 => 57, 207 => 35, 204 => 34, 201 => 33, 198 => 32, 181 => 31, 174 => 27, 170 => 26, 165 => 24, 158 => 19, 148 => 18, 136 => 130, 134 => 84, 131 => 83, 129 => 82, 126 => 81, 123 => 80, 120 => 79, 116 => 78, 113 => 77, 111 => 18, 108 => 17, 104 => 16, 100 => 15, 97 => 14, 94 => 13, 92 => 12, 89 => 11, 87 => 10, 84 => 9, 81 => 7, 78 => 6, 75 => 5, 72 => 4, 62 => 3, 39 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/breadcrumb.html.twig' %}
{% block layout_breadcrumb_inner %}
{% if category %}
{% set breadcrumbCategories = sw_breadcrumb_full(category, context.context) %}
{% set categoryId = category.id %}
{# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
{% set breadcrumb = sw_breadcrumb(category) %}
{# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
{% set breadcrumbKeys = breadcrumb|keys %}
{# @deprecated tag:v6.5.0 - Use \"sw_breadcrumb_full\" directly. #}
{% set breadcrumbTypes = sw_breadcrumb_build_types(breadcrumbCategories) %}
{% if breadcrumbCategories|length > 0 %}
{% if controllerName == 'Product' %} <div class=\"container\"> {% endif %}
<nav aria-label=\"breadcrumb\">
{% block layout_breadcrumb_list %}
<ol class=\"breadcrumb\"
itemscope
itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item first-item\">
<a href=\"{{ path('frontend.home.page') }}\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"{{ path('frontend.home.page') }}\"/>
{{ context.salesChannel.name|capitalize }}
</a>
</li>
{% for breadcrumbCategory in breadcrumbCategories %}
{% set key = breadcrumbCategory.id %}
{% set name = breadcrumbCategory.translated.name %}
{% block layout_breadcrumb_list_item %}
<li class=\"breadcrumb-item\"
{% if key is same as(categoryId) %}aria-current=\"page\"{% endif %}
itemprop=\"itemListElement\"
itemscope
itemtype=\"https://schema.org/ListItem\">
{% if breadcrumbCategory.type == 'folder' %}
<div itemprop=\"name\" style=\"display: inline-block;\">{{ name }}</div>
{% else %}
<a href=\"{{ category_url(breadcrumbCategory) }}\"
class=\"breadcrumb-link {% if key is same as(categoryId) %} is-active{% endif %}\"
title=\"{{ name }}\"
{% if category_linknewtab(breadcrumbCategory) %}target=\"_blank\"{% endif %}
itemprop=\"item\">
<link itemprop=\"url\"
href=\"{{ category_url(breadcrumbCategory) }}\"/>
<span class=\"breadcrumb-title\" itemprop=\"name\">{{ name }}</span>
</a>
{% endif %}
<meta itemprop=\"position\" content=\"{{ loop.index }}\"/>
</li>
{% endblock %}
{% block layout_breadcrumb_placeholder %}
{% if key != breadcrumbKeys|last %}
<div class=\"breadcrumb-placeholder\">
>
</div>
{% endif %}
{% endblock %}
{% endfor %}
{% if controllerName == 'Product' %}
<li class=\"breadcrumb-item\"
itemprop=\"itemListElement\"
itemscope
itemtype=\"https://schema.org/ListItem\">
<span itemprop=\"name\">{{ misc.translated.name }}</span>
</li>
{% endif %}
</ol>
{% endblock %}
</nav>
{% if controllerName == 'Product' %} </div> {% endif %}
{% endif %}
{% endif %}
{% if controllerName == 'Blog' %}
<nav aria-label=\"breadcrumb\">
{% block layout_breadcrumb_list_blog %}
<ol class=\"breadcrumb\"
itemscope
itemtype=\"https://schema.org/BreadcrumbList\">
<li class=\"breadcrumb-item first-item\">
<a href=\"{{ path('frontend.home.page') }}\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"{{ path('frontend.home.page') }}\"/>
{{ context.salesChannel.name|capitalize }}
</a>
</li>
<li class=\"breadcrumb-item\">
<a href=\"/{{ controllerName }}/\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"/{{ controllerName }}/\"/>
{{ controllerName }}
</a>
</li>
{% if misc.blogCategories %}
{% if misc.blogCategories.elements %}
{% if misc.blogCategories.elements|first %}
{% set categoryElement = misc.blogCategories.elements|first %}
<li class=\"breadcrumb-item\">
<a href=\"/{{ controllerName }}/{{ categoryElement.name }}/\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"/{{ controllerName }}/{{ categoryElement.name }}/\"/>
{{ categoryElement.name }}
</a>
</li>
{% endif %}
{% endif %}
{% endif %}
<li class=\"breadcrumb-item\">
{% set currentPath = app.request.attributes.get('sw-original-request-uri') %}
<a href=\"{{ currentPath }}\" itemprop=\"item\" class=\"breadcrumb-link\">
<link itemprop=\"url\"
href=\"{{ currentPath }}\"/>
{{ misc.title }}
</a>
</li>
</ol>
{% endblock %}
</nav>
{% endif %}
{% endblock %}
", "@DecomTheme/storefront/layout/breadcrumb.html.twig", "/var/customers/webs/youksakka/htdocs/custom/plugins/DecomTheme/src/Resources/views/storefront/layout/breadcrumb.html.twig");
}
}