var/cache/dev_h888c2d14c8de64da25a7719dfb71fe47/twig/03/0332de5335a57313bd04cbec98ead99a172e3b4532a722c4861f2c47a6dfd123.php line 40

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. /* @H1webBlog/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_3c5cd56378b16c1bad68e7d30c563a89 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_robots' => [$this'block_layout_head_meta_tags_robots'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@WbmTagManagerEcomm/storefront/layout/meta.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""@H1webBlog/storefront/layout/meta.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@H1webBlog/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@WbmTagManagerEcomm/storefront/layout/meta.html.twig""@H1webBlog/storefront/layout/meta.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_layout_head_meta_tags_robots($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_robots"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta_tags_robots"));
  55.         if ((($context["activeRoute"] ?? null) == "frontend.h1webblog.tag_overview")) {
  56.             echo "noindex,nofollow";
  57.         } else {
  58.             $this->displayParentBlock("layout_head_meta_tags_robots"$context$blocks);
  59.         }
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     public function getTemplateName()
  66.     {
  67.         return "@H1webBlog/storefront/layout/meta.html.twig";
  68.     }
  69.     public function isTraitable()
  70.     {
  71.         return false;
  72.     }
  73.     public function getDebugInfo()
  74.     {
  75.         return array (  58 => 3,  35 => 2,);
  76.     }
  77.     public function getSourceContext()
  78.     {
  79.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  80. {% block layout_head_meta_tags_robots %}{% if activeRoute == 'frontend.h1webblog.tag_overview' %}noindex,nofollow{% else %}{{ parent() }}{% endif %}{% endblock %}
  81. ""@H1webBlog/storefront/layout/meta.html.twig""/home/ploi/mesamis.websignaal.nl/vendor/store.shopware.com/h1webblog/src/Resources/views/storefront/layout/meta.html.twig");
  82.     }
  83. }