var/cache/dev_h86c60db0297e2ee3cca4ca2815be592b/twig/c1/c1f255d9c1a422ef380e3fd039718fad137a56780cac74335736d003c810f45a.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. /* @MoorlFoundation/storefront/layout/meta.html.twig */
  16. class __TwigTemplate_0733283c49751bf5c8d95e0a0504d556 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_stylesheet' => [$this'block_layout_head_stylesheet'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@TcinnThemeWareClean/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""@MoorlFoundation/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""@MoorlFoundation/storefront/layout/meta.html.twig"));
  40.         $this->parent $this->loadTemplate("@TcinnThemeWareClean/storefront/layout/meta.html.twig""@MoorlFoundation/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_stylesheet($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_stylesheet"));
  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_stylesheet"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("layout_head_stylesheet"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.fontawesome")) {
  62.             // line 7
  63.             echo "        <link rel=\"stylesheet\" href=\"https://data.moori.net/fontawesome-free-5.15.4-web/css/all.min.css\" crossorigin=\"anonymous\"/>
  64.     ";
  65.         }
  66.         // line 9
  67.         echo "
  68.     ";
  69.         // line 10
  70.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.animate")) {
  71.             // line 11
  72.             echo "        <link rel=\"stylesheet\" href=\"";
  73.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/moorlfoundation/storefront/css/animate.css"), "html"nulltrue);
  74.             echo "\">
  75.     ";
  76.         }
  77.         // line 13
  78.         echo "
  79.     ";
  80.         // line 14
  81.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.moorlAnimation")) {
  82.             // line 15
  83.             echo "        <script type=\"application/javascript\">window.moorlAnimation = ";
  84.             echo $this->env->getFilter('json_encode')->getCallable()($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.moorlAnimation"));
  85.             echo ";</script>
  86.     ";
  87.         }
  88.         // line 17
  89.         echo "
  90.     ";
  91.         // line 18
  92.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.advancedSearchWidth")) {
  93.             // line 19
  94.             echo "        <style>
  95.             :root {
  96.                 --moorl-advanced-search-width: ";
  97.             // line 21
  98.             echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"MoorlFoundation.config.advancedSearchWidth"), "html"nulltrue);
  99.             echo ";
  100.             }
  101.         </style>
  102.     ";
  103.         }
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     public function getTemplateName()
  110.     {
  111.         return "@MoorlFoundation/storefront/layout/meta.html.twig";
  112.     }
  113.     public function isTraitable()
  114.     {
  115.         return false;
  116.     }
  117.     public function getDebugInfo()
  118.     {
  119.         return array (  111 => 21,  107 => 19,  105 => 18,  102 => 17,  96 => 15,  94 => 14,  91 => 13,  85 => 11,  83 => 10,  80 => 9,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  120.     }
  121.     public function getSourceContext()
  122.     {
  123.         return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  124. {% block layout_head_stylesheet %}
  125.     {{ parent() }}
  126.     {% if config('MoorlFoundation.config.fontawesome') %}
  127.         <link rel=\"stylesheet\" href=\"https://data.moori.net/fontawesome-free-5.15.4-web/css/all.min.css\" crossorigin=\"anonymous\"/>
  128.     {% endif %}
  129.     {% if config('MoorlFoundation.config.animate') %}
  130.         <link rel=\"stylesheet\" href=\"{{ asset('bundles/moorlfoundation/storefront/css/animate.css') }}\">
  131.     {% endif %}
  132.     {% if config('MoorlFoundation.config.moorlAnimation') %}
  133.         <script type=\"application/javascript\">window.moorlAnimation = {{ config('MoorlFoundation.config.moorlAnimation')|json_encode|raw }};</script>
  134.     {% endif %}
  135.     {% if config('MoorlFoundation.config.advancedSearchWidth') %}
  136.         <style>
  137.             :root {
  138.                 --moorl-advanced-search-width: {{ config('MoorlFoundation.config.advancedSearchWidth') }};
  139.             }
  140.         </style>
  141.     {% endif %}
  142. {% endblock %}
  143. ""@MoorlFoundation/storefront/layout/meta.html.twig""/var/www/html/custom/plugins/MoorlFoundation/src/Resources/views/storefront/layout/meta.html.twig");
  144.     }
  145. }