parent = $this->loadTemplate("partials/base.html.twig", "error.html.twig", 1);
$this->blocks = array(
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "partials/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = array())
{
// line 4
echo "\t
\t\t
\t\t\t
";
// line 6
echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->translate("ERROR");
echo " ";
echo $this->getAttribute($this->getAttribute(($context["page"] ?? null), "header", array()), "http_response_code", array());
echo "
\t\t\t
\t\t\t\t";
// line 8
echo $this->getAttribute(($context["page"] ?? null), "content", array());
echo "
\t\t\t
\t\t
\t
";
}
public function getTemplateName()
{
return "error.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 42 => 8, 35 => 6, 31 => 4, 28 => 3, 11 => 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 Twig_Source("{% extends 'partials/base.html.twig' %}
{% block content %}
\t
\t\t
\t\t\t
{{ 'ERROR'|t }} {{ page.header.http_response_code }}
\t\t\t
\t\t\t\t{{ page.content }}
\t\t\t
\t\t
\t
{% endblock %}
", "error.html.twig", "/mnt/data/Sites/static-ethica.net/user/themes/ethica/templates/error.html.twig");
}
}