parent = false;
$_trait_0 = $this->loadTemplate("blocks/base.html.twig", "partials/base.html.twig", 4);
// line 4
if (!$_trait_0->isTraitable()) {
throw new RuntimeError('Template "'."blocks/base.html.twig".'" cannot be used as a trait.', 4, $this->getSourceContext());
}
$_trait_0_blocks = $_trait_0->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
[
'head' => [$this, 'block_head'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'assets' => [$this, 'block_assets'],
'body_classes' => [$this, 'block_body_classes'],
'header' => [$this, 'block_header'],
'header_navigation' => [$this, 'block_header_navigation'],
'hero' => [$this, 'block_hero'],
'body' => [$this, 'block_body'],
'messages' => [$this, 'block_messages'],
'footer' => [$this, 'block_footer'],
'mobile' => [$this, 'block_mobile'],
'bottom' => [$this, 'block_bottom'],
]
);
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["body_classes"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->bodyClassFunc([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 5
echo "
getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getActive", [])) ? ($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "language", []), "getActive", [])) : ($this->getAttribute($this->getAttribute($this->getAttribute(($context["grav"] ?? null), "config", []), "site", []), "default_lang", [])));
echo "\">
";
// line 8
$this->displayBlock('head', $context, $blocks);
// line 19
echo "
";
// line 20
$this->displayBlock('stylesheets', $context, $blocks);
// line 28
echo "
";
// line 29
$this->displayBlock('javascripts', $context, $blocks);
// line 34
echo "
";
// line 35
$this->displayBlock('assets', $context, $blocks);
// line 39
echo "
displayBlock('body_classes', $context, $blocks);
echo "\">
";
// line 42
$this->displayBlock('header', $context, $blocks);
// line 80
echo "
";
// line 81
$this->displayBlock('hero', $context, $blocks);
// line 82
echo "
";
// line 84
$this->displayBlock('body', $context, $blocks);
// line 94
echo "
";
// line 98
$this->displayBlock('footer', $context, $blocks);
// line 101
echo "
";
// line 102
$this->displayBlock('mobile', $context, $blocks);
// line 114
echo "
";
// line 115
$this->displayBlock('bottom', $context, $blocks);
// line 118
echo "
";
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->resolve($this, $context, $blocks);
}
public function block_head($context, array $blocks = array())
{
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->defer($this, 'head');
}
// line 8
public function block_head_deferred($context, array $blocks = array())
{
// line 9
echo "
";
// line 10
if ($this->getAttribute(($context["page"] ?? null), "title", [])) {
echo twig_escape_filter($this->env, $this->getAttribute(($context["page"] ?? null), "title", []), "html");
echo " | ";
}
echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", []), "html");
echo "
";
// line 14
$this->loadTemplate("partials/metadata.html.twig", "partials/base.html.twig", 14)->display($context);
// line 15
echo "
env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc("theme://images/favicon.png");
echo "\" />
getAttribute(($context["page"] ?? null), "url", [0 => true, 1 => true], "method");
echo "\" />
";
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->resolve($this, $context, $blocks);
}
// line 20
public function block_stylesheets($context, array $blocks = [])
{
// line 21
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => ("theme://css-compiled/spectre" . ($context["compress"] ?? null))], "method");
// line 22
echo " ";
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.exp")) {
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => ("theme://css-compiled/spectre-exp" . ($context["compress"] ?? null))], "method");
}
// line 23
echo " ";
if ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("spectre.icons")) {
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => ("theme://css-compiled/spectre-icons" . ($context["compress"] ?? null))], "method");
}
// line 24
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => ("theme://css-compiled/theme" . ($context["compress"] ?? null))], "method");
// line 25
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => "theme://css/custom.css"], "method");
// line 26
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addCss", [0 => "theme://css/line-awesome.min.css"], "method");
}
// line 29
public function block_javascripts($context, array $blocks = [])
{
// line 30
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "jquery", 1 => 101], "method");
// line 31
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "theme://js/jquery.treemenu.js", 1 => ["group" => "bottom"]], "method");
// line 32
echo " ";
$this->getAttribute(($context["assets"] ?? null), "addJs", [0 => "theme://js/site.js", 1 => ["group" => "bottom"]], "method");
}
public function block_assets($context, array $blocks = array())
{
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->defer($this, 'assets');
}
// line 35
public function block_assets_deferred($context, array $blocks = array())
{
// line 36
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "css", [], "method");
echo "
";
// line 37
echo $this->getAttribute(($context["assets"] ?? null), "js", [], "method");
echo "
";
$this->env->getExtension('Phive\Twig\Extensions\Deferred\DeferredExtension')->resolve($this, $context, $blocks);
}
// line 40
public function block_body_classes($context, array $blocks = [])
{
echo ($context["body_classes"] ?? null);
}
// line 42
public function block_header($context, array $blocks = [])
{
// line 43
echo "
";
}
// line 59
public function block_header_navigation($context, array $blocks = [])
{
// line 60
echo " ";
$this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 60)->display($context);
// line 61
echo " ";
}
// line 81
public function block_hero($context, array $blocks = [])
{
}
// line 84
public function block_body($context, array $blocks = [])
{
// line 85
echo "
";
// line 87
$this->displayBlock('messages', $context, $blocks);
// line 90
echo " ";
$this->displayBlock("content_surround", $context, $blocks);
echo "
";
}
// line 87
public function block_messages($context, array $blocks = [])
{
// line 88
echo " ";
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = null;
try {
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $this->loadTemplate("partials/messages.html.twig", "partials/base.html.twig", 88);
} catch (LoaderError $e) {
// ignore missing template
}
if ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) {
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4->display($context);
}
// line 89
echo " ";
}
// line 98
public function block_footer($context, array $blocks = [])
{
// line 99
echo " ";
$this->loadTemplate("partials/footer.html.twig", "partials/base.html.twig", 99)->display($context);
// line 100
echo " ";
}
// line 102
public function block_mobile($context, array $blocks = [])
{
// line 103
echo "
";
// line 106
$this->loadTemplate("partials/logo.html.twig", "partials/base.html.twig", 106)->display(twig_array_merge($context, ["mobile" => true]));
// line 107
echo "
";
}
// line 115
public function block_bottom($context, array $blocks = [])
{
// line 116
echo " ";
echo $this->getAttribute(($context["assets"] ?? null), "js", [0 => "bottom"], "method");
echo "
";
}
public function getTemplateName()
{
return "partials/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 389 => 116, 386 => 115, 379 => 110, 377 => 109, 373 => 107, 371 => 106, 366 => 103, 363 => 102, 359 => 100, 356 => 99, 353 => 98, 349 => 89, 338 => 88, 335 => 87, 326 => 90, 324 => 87, 320 => 86, 317 => 85, 314 => 84, 309 => 81, 305 => 61, 302 => 60, 299 => 59, 283 => 67, 277 => 65, 275 => 64, 271 => 62, 269 => 59, 262 => 54, 260 => 53, 256 => 51, 252 => 48, 250 => 47, 244 => 44, 241 => 43, 238 => 42, 232 => 40, 225 => 37, 220 => 36, 217 => 35, 207 => 32, 204 => 31, 201 => 30, 198 => 29, 193 => 26, 190 => 25, 187 => 24, 182 => 23, 177 => 22, 174 => 21, 171 => 20, 164 => 17, 160 => 16, 157 => 15, 155 => 14, 144 => 10, 141 => 9, 138 => 8, 125 => 118, 123 => 115, 120 => 114, 118 => 102, 115 => 101, 113 => 98, 107 => 94, 105 => 84, 101 => 82, 99 => 81, 96 => 80, 94 => 42, 89 => 40, 86 => 39, 84 => 35, 81 => 34, 79 => 29, 76 => 28, 74 => 20, 71 => 19, 69 => 8, 64 => 6, 61 => 5, 59 => 3, 57 => 2, 55 => 1, 25 => 4,);
}
/** @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 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' %}
{% use 'blocks/base.html.twig' %}
{% block head deferred %}
{% if page.title %}{{ page.title|e('html') }} | {% endif %}{{ site.title|e('html') }}
{% include 'partials/metadata.html.twig' %}
{% endblock head %}
{% 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 %}
{% 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 %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
{% block header %}
{% endblock %}
{% block hero %}{% endblock %}
{% block body %}
{% block messages %}
{% include 'partials/messages.html.twig' ignore missing %}
{% endblock %}
{{ block('content_surround') }}
{% endblock %}
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% endblock %}
{% block mobile %}
{% include 'partials/logo.html.twig' with {mobile: true} %}
{% endblock %}
{% block bottom %}
{{ assets.js('bottom')|raw }}
{% endblock %}
", "partials/base.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/themes/quark/templates/partials/base.html.twig");
}
}