parent = false;
$this->blocks = array(
'head' => array($this, 'block_head'),
'stylesheets' => array($this, 'block_stylesheets'),
'javascripts' => array($this, 'block_javascripts'),
'body' => array($this, 'block_body'),
'page' => array($this, 'block_page'),
'navigation' => array($this, 'block_navigation'),
'titlebar' => array($this, 'block_titlebar'),
'messages' => array($this, 'block_messages'),
'widgets' => array($this, 'block_widgets'),
'content_top' => array($this, 'block_content_top'),
'content' => array($this, 'block_content'),
'content_bottom' => array($this, 'block_content_bottom'),
'footer' => array($this, 'block_footer'),
'bottom' => array($this, 'block_bottom'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
if (($this->getAttribute(($context["uri"] ?? null), "extension", array(), "method") == "json")) {
$this->loadTemplate("default.json.twig", "partials/base-root.html.twig", 1)->display($context);
} else {
// line 2
echo "
";
// line 5
$this->displayBlock('head', $context, $blocks);
// line 32
echo "
";
// line 33
$this->displayBlock('body', $context, $blocks);
// line 115
echo "
";
}
}
// line 5
public function block_head($context, array $blocks = array())
{
// line 6
echo "
";
// line 7
if (($context["title"] ?? null)) {
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
echo " | ";
} else {
if ($this->getAttribute(($context["header"] ?? null), "title", array())) {
echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", array()), "html", null, true);
echo " | ";
}
}
echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", array()), "html", null, true);
echo "
";
// line 8
if ($this->getAttribute(($context["header"] ?? null), "description", array())) {
// line 9
echo " env, $this->getAttribute(($context["header"] ?? null), "description", array()), "html", null, true);
echo "\">
";
} else {
// line 11
echo " env, $this->getAttribute(($context["site"] ?? null), "description", array()), "html", null, true);
echo "\">
";
}
// line 13
echo " ";
if ($this->getAttribute(($context["header"] ?? null), "robots", array())) {
// line 14
echo " env, $this->getAttribute(($context["header"] ?? null), "robots", array()), "html", null, true);
echo "\">
";
} else {
// line 16
echo "
";
}
// line 18
echo "
env, ($context["base_url_simple"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["theme_url"] ?? null), "html", null, true);
echo "/images/favicon.png\">
";
// line 21
$this->displayBlock('stylesheets', $context, $blocks);
// line 25
echo "
";
// line 26
$this->loadTemplate("partials/javascript-config.html.twig", "partials/base-root.html.twig", 26)->display($context);
// line 27
echo " ";
$this->displayBlock('javascripts', $context, $blocks);
// line 31
echo " ";
}
// line 21
public function block_stylesheets($context, array $blocks = array())
{
// line 22
echo " ";
$this->loadTemplate("partials/stylesheets.html.twig", "partials/base-root.html.twig", 22)->display($context);
// line 23
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method");
echo "
";
}
// line 27
public function block_javascripts($context, array $blocks = array())
{
// line 28
echo " ";
$this->loadTemplate("partials/javascripts.html.twig", "partials/base-root.html.twig", 28)->display($context);
// line 29
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method");
echo "
";
}
// line 33
public function block_body($context, array $blocks = array())
{
// line 34
echo " getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "sidebar", array()), "size", array()) == "small")) ? ("sidebar-closed") : (""));
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "body_classes", array()), "html", null, true);
echo "\">
";
// line 35
$this->displayBlock('page', $context, $blocks);
// line 112
echo " ";
$this->displayBlock('bottom', $context, $blocks);
// line 113
echo "
";
}
// line 35
public function block_page($context, array $blocks = array())
{
// line 36
echo "
";
// line 38
$this->displayBlock('navigation', $context, $blocks);
// line 41
echo "
";
// line 43
$this->loadTemplate("partials/nav-toggle.html.twig", "partials/base-root.html.twig", 43)->display($context);
// line 44
echo "
";
// line 45
$this->displayBlock('titlebar', $context, $blocks);
// line 46
echo "
getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "content_padding", array())) {
echo "content-padding";
}
echo "\">
";
// line 50
$this->displayBlock('messages', $context, $blocks);
// line 53
echo "
";
// line 54
$this->displayBlock('widgets', $context, $blocks);
// line 55
echo "
";
// line 56
$this->displayBlock('content_top', $context, $blocks);
// line 57
echo "
";
// line 58
$this->displayBlock('content', $context, $blocks);
// line 59
echo "
";
// line 60
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "show_github_msg", array())) {
// line 61
echo "
";
}
// line 63
echo " ";
$this->displayBlock('content_bottom', $context, $blocks);
// line 64
echo "
";
// line 65
$this->displayBlock('footer', $context, $blocks);
// line 70
echo "
";
}
// line 38
public function block_navigation($context, array $blocks = array())
{
// line 39
echo " ";
$this->loadTemplate("partials/nav.html.twig", "partials/base-root.html.twig", 39)->display($context);
// line 40
echo " ";
}
// line 45
public function block_titlebar($context, array $blocks = array())
{
}
// line 50
public function block_messages($context, array $blocks = array())
{
// line 51
echo " ";
$this->loadTemplate("partials/messages.html.twig", "partials/base-root.html.twig", 51)->display($context);
// line 52
echo " ";
}
// line 54
public function block_widgets($context, array $blocks = array())
{
}
// line 56
public function block_content_top($context, array $blocks = array())
{
}
// line 58
public function block_content($context, array $blocks = array())
{
}
// line 63
public function block_content_bottom($context, array $blocks = array())
{
}
// line 65
public function block_footer($context, array $blocks = array())
{
// line 66
echo "
";
}
// line 112
public function block_bottom($context, array $blocks = array())
{
}
public function getTemplateName()
{
return "partials/base-root.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 369 => 112, 356 => 67, 353 => 66, 350 => 65, 345 => 63, 340 => 58, 335 => 56, 330 => 54, 326 => 52, 323 => 51, 320 => 50, 315 => 45, 311 => 40, 308 => 39, 305 => 38, 292 => 103, 288 => 102, 281 => 98, 276 => 96, 267 => 90, 258 => 84, 249 => 78, 243 => 75, 236 => 70, 234 => 65, 231 => 64, 228 => 63, 222 => 61, 220 => 60, 217 => 59, 215 => 58, 213 => 57, 211 => 56, 208 => 55, 206 => 54, 203 => 53, 201 => 50, 195 => 49, 190 => 46, 188 => 45, 185 => 44, 183 => 43, 179 => 41, 177 => 38, 173 => 36, 170 => 35, 165 => 113, 162 => 112, 160 => 35, 153 => 34, 150 => 33, 143 => 29, 140 => 28, 137 => 27, 130 => 23, 127 => 22, 124 => 21, 120 => 31, 117 => 27, 115 => 26, 112 => 25, 110 => 21, 104 => 19, 101 => 18, 97 => 16, 91 => 14, 88 => 13, 82 => 11, 76 => 9, 74 => 8, 61 => 7, 58 => 6, 55 => 5, 49 => 115, 47 => 33, 44 => 32, 42 => 5, 37 => 2, 33 => 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("{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %}
{% block head %}
{% if title %}{{ title }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }}
{% if header.description %}
{% else %}
{% endif %}
{% if header.robots %}
{% else %}
{% endif %}
{% block stylesheets %}
{% include 'partials/stylesheets.html.twig' %}
{{ assets.css()|raw }}
{% endblock %}
{% include 'partials/javascript-config.html.twig' %}
{% block javascripts %}
{% include 'partials/javascripts.html.twig' %}
{{ assets.js()|raw }}
{% endblock %}
{% endblock %}
{% block body %}
{% block page %}
{% block navigation %}
{% include 'partials/nav.html.twig' %}
{% endblock %}
{% include 'partials/nav-toggle.html.twig' %}
{% block titlebar %}{% endblock %}
{% block messages %}
{% include 'partials/messages.html.twig' %}
{% endblock %}
{% block widgets %}{% endblock %}
{% block content_top %}{% endblock %}
{%- block content %}{% endblock -%}
{% if config.plugins.admin.show_github_msg %}
{% endif %}
{% block content_bottom %}{% endblock %}
{% block footer %}
{% endblock %}
{% endblock page %}
{% block bottom %}{% endblock %}
{% endblock body %}
{% endif %}
", "partials/base-root.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/base-root.html.twig");
}
}