1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- /* error.html.twig */
- class __TwigTemplate_8938aa1083c7c0f2376e9a635cdf67f5cf665340aa0814ae86dbc1bc4403c9e8 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- // line 1
- $this->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<div id=\"error\">
- \t\t<div>
- \t\t\t<h1>";
- // 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 "</h1>
- \t\t\t<p>
- \t\t\t\t";
- // line 8
- echo $this->getAttribute(($context["page"] ?? null), "content", array());
- echo "
- \t\t\t</p>
- \t\t</div>
- \t</div>
- ";
- }
- 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<div id=\"error\">
- \t\t<div>
- \t\t\t<h1>{{ 'ERROR'|t }} {{ page.header.http_response_code }}</h1>
- \t\t\t<p>
- \t\t\t\t{{ page.content }}
- \t\t\t</p>
- \t\t</div>
- \t</div>
- {% endblock %}
- ", "error.html.twig", "/mnt/data/Sites/static-ethica.net/user/themes/ethica/templates/error.html.twig");
- }
- }
|