parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["logo"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc(((($context["mobile"] ?? null)) ? ("custom_logo_mobile") : ("custom_logo")));
// line 2
echo "
";
// line 3
if (($context["logo"] ?? null)) {
// line 4
echo " ";
$context["logo_file"] = $this->getAttribute(twig_first($this->env, ($context["logo"] ?? null)), "name", []);
// line 5
echo "
env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc(("theme://images/logo/" . ($context["logo_file"] ?? null)));
echo "\" alt=\"";
echo $this->getAttribute(($context["site"] ?? null), "title", []);
echo "\" />
";
} else {
// line 7
echo " ";
$this->loadTemplate("@images/grav-logo.svg", "partials/logo.html.twig", 7)->display($context);
}
// line 9
echo "";
}
public function getTemplateName()
{
return "partials/logo.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 54 => 9, 50 => 7, 42 => 5, 39 => 4, 37 => 3, 32 => 2, 30 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %}
{% if logo %}
{% set logo_file = (logo|first).name %}
{% else %}
{% include('@images/grav-logo.svg') %}
{% endif %}
", "partials/logo.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/themes/quark/templates/partials/logo.html.twig");
}
}