<?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;
/* @MoorlFoundation/storefront/layout/meta.html.twig */
class __TwigTemplate_65d1bc2f59f6c6328ac99e310faab09f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'layout_head_stylesheet' => [$this, 'block_layout_head_stylesheet'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@H1webBlog/storefront/layout/meta.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", "@MoorlFoundation/storefront/layout/meta.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@MoorlFoundation/storefront/layout/meta.html.twig"));
$this->parent = $this->loadTemplate("@H1webBlog/storefront/layout/meta.html.twig", "@MoorlFoundation/storefront/layout/meta.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_layout_head_stylesheet($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", "layout_head_stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_stylesheet"));
// line 4
echo " ";
$this->displayParentBlock("layout_head_stylesheet", $context, $blocks);
echo "
";
// line 6
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.fontawesome")) {
// line 7
echo " <link rel=\"stylesheet\" href=\"https://data.moori.net/fontawesome-free-5.15.4-web/css/all.min.css\" crossorigin=\"anonymous\"/>
";
}
// line 9
echo "
";
// line 10
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.animate")) {
// line 11
echo " <link rel=\"stylesheet\" href=\"";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/moorlfoundation/storefront/css/animate.css"), "html", null, true);
echo "\">
";
}
// line 13
echo "
";
// line 14
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.moorlAnimation")) {
// line 15
echo " <script type=\"application/javascript\">window.moorlAnimation = ";
echo $this->env->getFilter('json_encode')->getCallable()($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.moorlAnimation"));
echo ";</script>
";
}
// line 17
echo "
";
// line 18
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.advancedSearchWidth")) {
// line 19
echo " <style>
:root {
--moorl-advanced-search-width: ";
// line 21
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "MoorlFoundation.config.advancedSearchWidth"), "html", null, true);
echo ";
}
</style>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@MoorlFoundation/storefront/layout/meta.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}
{{ parent() }}
{% if config('MoorlFoundation.config.fontawesome') %}
<link rel=\"stylesheet\" href=\"https://data.moori.net/fontawesome-free-5.15.4-web/css/all.min.css\" crossorigin=\"anonymous\"/>
{% endif %}
{% if config('MoorlFoundation.config.animate') %}
<link rel=\"stylesheet\" href=\"{{ asset('bundles/moorlfoundation/storefront/css/animate.css') }}\">
{% endif %}
{% if config('MoorlFoundation.config.moorlAnimation') %}
<script type=\"application/javascript\">window.moorlAnimation = {{ config('MoorlFoundation.config.moorlAnimation')|json_encode|raw }};</script>
{% endif %}
{% if config('MoorlFoundation.config.advancedSearchWidth') %}
<style>
:root {
--moorl-advanced-search-width: {{ config('MoorlFoundation.config.advancedSearchWidth') }};
}
</style>
{% endif %}
{% endblock %}
", "@MoorlFoundation/storefront/layout/meta.html.twig", "/var/customers/webs/fporzellan/htdocs/custom/plugins/MoorlFoundation/src/Resources/views/storefront/layout/meta.html.twig");
}
}