install gulp + reset
This commit is contained in:
+89
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
/* error.html.twig */
|
||||
class __TwigTemplate_f389ca813d2a813d39b3566d3b630542bc6d38c302cdfcde2a6ee2fd64460302 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/r2c.net/user/themes/r2c/templates/error.html.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user