parent = false;
$this->blocks = array(
'head' => array($this, 'block_head'),
'stylesheets' => array($this, 'block_stylesheets'),
'javascripts' => array($this, 'block_javascripts'),
'body_classes' => array($this, 'block_body_classes'),
'header' => array($this, 'block_header'),
'header_navigation' => array($this, 'block_header_navigation'),
'hero' => array($this, 'block_hero'),
'body' => array($this, 'block_body'),
'messages' => array($this, 'block_messages'),
'content' => array($this, 'block_content'),
'footer' => array($this, 'block_footer'),
'bottom' => array($this, 'block_bottom'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$context["body_classes"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->bodyClassFunc(array(0 => "header-fixed", 1 => "header-animated", 2 => "header-dark", 3 => "header-transparent", 4 => "sticky-footer"));
// line 2
$context["grid_size"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("grid-size");
// line 3
$context["compress"] = (($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("production_mode")) ? (".min.css") : (".css"));
// line 4
echo "
getAttribute($this->getAttribute(($context["grav"] ?? null), "language", array()), "getActive", array())) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", array()), "getActive", array())) : ($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "config", array()), "site", array()), "default_lang", array())));
echo "\">
";
// line 7
$this->displayBlock('head', $context, $blocks);
// line 36
echo "
displayBlock('body_classes', $context, $blocks);
echo "\">
";
// line 39
$this->displayBlock('header', $context, $blocks);
// line 70
echo "
";
// line 71
$this->displayBlock('hero', $context, $blocks);
// line 72
echo "
";
// line 74
$this->displayBlock('body', $context, $blocks);
// line 84
echo "
";
// line 88
$this->displayBlock('footer', $context, $blocks);
// line 95
echo "
";
// line 100
$this->loadTemplate("@images/grav-logo.svg", "partials/base.html.twig", 100)->display($context);
// line 101
echo "
";
// line 108
$this->displayBlock('bottom', $context, $blocks);
// line 111
echo "
";
}
// line 7
public function block_head($context, array $blocks = array())
{
// line 8
echo "
";
// line 9
if ($this->getAttribute(($context["header"] ?? null), "title", array())) {
echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", array()), "html");
echo " | ";
}
echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", array()), "html");
echo "
";
// line 13
$this->loadTemplate("partials/metadata.html.twig", "partials/base.html.twig", 13)->display($context);
// line 14
echo "
env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc("theme://images/favicon.png");
echo "\" />
getAttribute(($context["page"] ?? null), "url", array(0 => true, 1 => true), "method");
echo "\" />
";
// line 18
$this->displayBlock('stylesheets', $context, $blocks);
// line 26
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method");
echo "
";
// line 28
$this->displayBlock('javascripts', $context, $blocks);
// line 33
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method");
echo "
";
}
// line 18
public function block_stylesheets($context, array $blocks = array())
{
// line 19
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre" . ($context["compress"] ?? null))), "method");
// line 20
echo " ";
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.exp")) {
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre-exp" . ($context["compress"] ?? null))), "method");
}
// line 21
echo " ";
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.icons")) {
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre-icons" . ($context["compress"] ?? null))), "method");
}
// line 22
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/theme" . ($context["compress"] ?? null))), "method");
// line 23
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/custom.css"), "method");
// line 24
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/line-awesome.min.css"), "method");
// line 25
echo " ";
}
// line 28
public function block_javascripts($context, array $blocks = array())
{
// line 29
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "jquery", 1 => 101), "method");
// line 30
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/jquery.treemenu.js", 1 => array("group" => "bottom")), "method");
// line 31
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/site.js", 1 => array("group" => "bottom")), "method");
// line 32
echo " ";
}
// line 37
public function block_body_classes($context, array $blocks = array())
{
echo ($context["body_classes"] ?? null);
}
// line 39
public function block_header($context, array $blocks = array())
{
// line 40
echo "
";
}
// line 49
public function block_header_navigation($context, array $blocks = array())
{
// line 50
echo " ";
$this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 50)->display($context);
// line 51
echo " ";
}
// line 71
public function block_hero($context, array $blocks = array())
{
}
// line 74
public function block_body($context, array $blocks = array())
{
// line 75
echo "
";
// line 77
$this->displayBlock('messages', $context, $blocks);
// line 80
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 81
echo "
";
}
// line 77
public function block_messages($context, array $blocks = array())
{
// line 78
echo " ";
try {
$this->loadTemplate("partials/messages.html.twig", "partials/base.html.twig", 78)->display($context);
} catch (Twig_Error_Loader $e) {
// ignore missing template
}
// line 79
echo " ";
}
// line 80
public function block_content($context, array $blocks = array())
{
}
// line 88
public function block_footer($context, array $blocks = array())
{
// line 89
echo "
";
}
// line 108
public function block_bottom($context, array $blocks = array())
{
// line 109
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "js", array(0 => "bottom"), "method");
echo "
";
}
public function getTemplateName()
{
return "partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 331 => 109, 328 => 108, 319 => 90, 316 => 89, 313 => 88, 308 => 80, 304 => 79, 296 => 78, 293 => 77, 287 => 81, 284 => 80, 282 => 77, 278 => 76, 275 => 75, 272 => 74, 267 => 71, 263 => 51, 260 => 50, 257 => 49, 241 => 57, 235 => 55, 233 => 54, 229 => 52, 227 => 49, 217 => 44, 211 => 41, 208 => 40, 205 => 39, 199 => 37, 195 => 32, 192 => 31, 189 => 30, 186 => 29, 183 => 28, 179 => 25, 176 => 24, 173 => 23, 170 => 22, 165 => 21, 160 => 20, 157 => 19, 154 => 18, 146 => 33, 144 => 28, 138 => 26, 136 => 18, 131 => 16, 127 => 15, 124 => 14, 122 => 13, 111 => 9, 108 => 8, 105 => 7, 99 => 111, 97 => 108, 91 => 104, 89 => 103, 85 => 101, 83 => 100, 76 => 95, 74 => 88, 68 => 84, 66 => 74, 62 => 72, 60 => 71, 57 => 70, 55 => 39, 50 => 37, 47 => 36, 45 => 7, 40 => 5, 37 => 4, 35 => 3, 33 => 2, 31 => 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("{% set body_classes = body_class(['header-fixed', 'header-animated', 'header-dark', 'header-transparent', 'sticky-footer']) %}
{% set grid_size = theme_var('grid-size') %}
{% set compress = theme_var('production_mode') ? '.min.css' : '.css' %}
{% block head %}
{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}
{% include 'partials/metadata.html.twig' %}
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/spectre'~compress) %}
{% if theme_var('spectre.exp') %}{% do assets.addCss('theme://css-compiled/spectre-exp'~compress) %}{% endif %}
{% if theme_var('spectre.icons') %}{% do assets.addCss('theme://css-compiled/spectre-icons'~compress) %}{% endif %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% do assets.addCss('theme://css/custom.css') %}
{% do assets.addCss('theme://css/line-awesome.min.css') %}
{% endblock %}
{{ assets.css() }}
{% block javascripts %}
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% endblock %}
{{ assets.js() }}
{% endblock head %}
{% block header %}
{% endblock %}
{% block hero %}{% endblock %}
{% block body %}
{% block messages %}
{% include 'partials/messages.html.twig' ignore missing %}
{% endblock %}
{% block content %}{% endblock %}
{% endblock %}
{% block footer %}
{% endblock %}
{% include('@images/grav-logo.svg') %}
{% block bottom %}
{{ assets.js('bottom') }}
{% endblock %}
", "partials/base.html.twig", "/mnt/data/Sites/r2c.net/user/themes/r2c/templates/partials/base.html.twig");
}
}