var/cache/dev_h96138ee5f5ee4f9f280391b7ea87ede1/twig/f0/f0a5527f00975f01e818dab8a497373f052bf39fbb17e796810846e4304ee28b.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @SalvanaPferde2022/storefront/page/product-detail/meta.html.twig */
  16. class __TwigTemplate_3da5b988b67b0188488b3bc40ee940290336107a09c4e4dfe7ee0856478c4640 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'layout_head_meta_tags_general' => [$this'block_layout_head_meta_tags_general'],
  26.             'layout_head_meta_tags_robots' => [$this'block_layout_head_meta_tags_robots'],
  27.             'layout_head_meta_tags_keywords' => [$this'block_layout_head_meta_tags_keywords'],
  28.             'layout_head_meta_tags_description' => [$this'block_layout_head_meta_tags_description'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@Storefront/storefront/page/product-detail/meta.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SalvanaPferde2022/storefront/page/product-detail/meta.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SalvanaPferde2022/storefront/page/product-detail/meta.html.twig"));
  43.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/meta.html.twig""@SalvanaPferde2022/storefront/page/product-detail/meta.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_layout_head_meta_tags_general($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_general"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_general"));
  58.         // line 4
  59.         echo "  ";
  60.         $context["fields"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse4), "customFields", [], "any"falsefalsefalse4);
  61.         // line 5
  62.         echo "
  63.   <meta name=\"author\"
  64.         content=\"";
  65.         // line 7
  66.         echo sw_escape_filter($this->envtwig_striptags(sw_get_attribute($this->env$this->source, ($context["metaInformation"] ?? null), "author", [], "any"falsefalsefalse7)), "html"nulltrue);
  67.         echo "\"/>
  68.   <meta name=\"robots\"
  69.         content=\"";
  70.         // line 9
  71.         $this->displayBlock('layout_head_meta_tags_robots'$context$blocks);
  72.         echo "\"/>
  73.   <meta name=\"revisit-after\"
  74.         content=\"";
  75.         // line 11
  76.         echo sw_escape_filter($this->envtwig_striptags(sw_get_attribute($this->env$this->source, ($context["metaInformation"] ?? null), "revisit", [], "any"falsefalsefalse11)), "html"nulltrue);
  77.         echo "\"/>
  78.   <meta name=\"keywords\"
  79.         content=\"";
  80.         // line 13
  81.         $this->displayBlock('layout_head_meta_tags_keywords'$context$blocks);
  82.         echo "\"/>
  83.   <meta name=\"description\"
  84.         content=\"";
  85.         // line 15
  86.         $this->displayBlock('layout_head_meta_tags_description'$context$blocks);
  87.         echo "\"/>
  88. ";
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.     }
  94.     // line 9
  95.     public function block_layout_head_meta_tags_robots($context, array $blocks = [])
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_robots"));
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_robots"));
  102.         if (sw_get_attribute($this->env$this->source, ($context["fields"] ?? null), "custom_seo_robots", [], "any"falsefalsefalse9)) {
  103.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["fields"] ?? null), "custom_seo_robots", [], "any"falsefalsefalse9), "html"nulltrue);
  104.         } else {
  105.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->source, ($context["metaInformation"] ?? null), "robots", [], "any"falsefalsefalse9), "html"nulltrue);
  106.         }
  107.         
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  109.         
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  111.     }
  112.     // line 13
  113.     public function block_layout_head_meta_tags_keywords($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_keywords"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_keywords"));
  120.         echo sw_escape_filter($this->env, ($context["metaKeywords"] ?? null), "html"nulltrue);
  121.         
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  123.         
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  125.     }
  126.     // line 15
  127.     public function block_layout_head_meta_tags_description($context, array $blocks = [])
  128.     {
  129.         $macros $this->macros;
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_description"));
  134.         echo sw_escape_filter($this->env, ($context["metaDescription"] ?? null), "html"nulltrue);
  135.         
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  137.         
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  139.     }
  140.     public function getTemplateName()
  141.     {
  142.         return "@SalvanaPferde2022/storefront/page/product-detail/meta.html.twig";
  143.     }
  144.     public function isTraitable()
  145.     {
  146.         return false;
  147.     }
  148.     public function getDebugInfo()
  149.     {
  150.         return array (  152 => 15,  133 => 13,  110 => 9,  98 => 15,  93 => 13,  88 => 11,  83 => 9,  78 => 7,  74 => 5,  71 => 4,  61 => 3,  38 => 2,);
  151.     }
  152.     public function getSourceContext()
  153.     {
  154.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  155. {% block layout_head_meta_tags_general %}
  156.   {% set fields = page.product.customFields %}
  157.   <meta name=\"author\"
  158.         content=\"{{ metaInformation.author|striptags }}\"/>
  159.   <meta name=\"robots\"
  160.         content=\"{% block layout_head_meta_tags_robots %}{% if fields.custom_seo_robots %}{{ fields.custom_seo_robots }}{% else %}{{ metaInformation.robots }}{% endif %}{% endblock %}\"/>
  161.   <meta name=\"revisit-after\"
  162.         content=\"{{ metaInformation.revisit|striptags }}\"/>
  163.   <meta name=\"keywords\"
  164.         content=\"{% block layout_head_meta_tags_keywords %}{{ metaKeywords }}{% endblock %}\"/>
  165.   <meta name=\"description\"
  166.         content=\"{% block layout_head_meta_tags_description %}{{ metaDescription }}{% endblock %}\"/>
  167. {% endblock %}
  168. ""@SalvanaPferde2022/storefront/page/product-detail/meta.html.twig""/var/www/vhosts/salvana.aix-dev.de/dev.salvana.com/src/custom/plugins/SalvanaPferde2022/src/Resources/views/storefront/page/product-detail/meta.html.twig");
  169.     }
  170. }