123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476 |
- <?php
- class __TwigTemplate_5c1e179e5651a7b19a8394edfa231a502c6da0cec9fc4110f9246f2a43174b55 extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->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())
- {
-
- $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"));
-
- $context["grid_size"] = $this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("grid-size");
-
- $context["compress"] = (($this->env->getExtension('Grav\Common\Twig\TwigExtension')->themeVarFunc("production_mode")) ? (".min.css") : (".css"));
-
- echo "<!DOCTYPE html>
- <html lang=\"";
-
- echo (($this->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 "\">
- <head>
- ";
-
- $this->displayBlock('head', $context, $blocks);
-
- echo "</head>
- <body id=\"top\" class=\"";
-
- $this->displayBlock('body_classes', $context, $blocks);
- echo "\">
- <div id=\"page-wrapper\">
- ";
-
- $this->displayBlock('header', $context, $blocks);
-
- echo "
- ";
-
- $this->displayBlock('hero', $context, $blocks);
-
- echo "
- <section id=\"start\">
- ";
-
- $this->displayBlock('body', $context, $blocks);
-
- echo " </section>
- </div>
- ";
-
- $this->displayBlock('footer', $context, $blocks);
-
- echo "
-
- <div class=\"mobile-container\">
- <div class=\"overlay\" id=\"overlay\">
- <div class=\"mobile-logo\">
- ";
-
- $this->loadTemplate("@images/grav-logo.svg", "partials/base.html.twig", 100)->display($context);
-
- echo " </div>
- <nav class=\"overlay-menu\">
- ";
-
- $this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 103)->display(array_merge($context, array("tree" => true)));
-
- echo " </nav>
- </div>
- </div>
- ";
-
- $this->displayBlock('bottom', $context, $blocks);
-
- echo "
- </body>
- ";
- }
-
- public function block_head($context, array $blocks = array())
- {
-
- echo " <meta charset=\"utf-8\" />
- <title>";
-
- 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 "</title>
- <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
- <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
- ";
-
- $this->loadTemplate("partials/metadata.html.twig", "partials/base.html.twig", 13)->display($context);
-
- echo "
- <link rel=\"icon\" type=\"image/png\" href=\"";
-
- echo $this->env->getExtension('Grav\Common\Twig\TwigExtension')->urlFunc("theme://images/favicon.png");
- echo "\" />
- <link rel=\"canonical\" href=\"";
-
- echo $this->getAttribute(($context["page"] ?? null), "url", array(0 => true, 1 => true), "method");
- echo "\" />
- ";
-
- $this->displayBlock('stylesheets', $context, $blocks);
-
- echo " ";
- echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method");
- echo "
- ";
-
- $this->displayBlock('javascripts', $context, $blocks);
-
- echo " ";
- echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method");
- echo "
- ";
- }
-
- public function block_stylesheets($context, array $blocks = array())
- {
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/spectre" . ($context["compress"] ?? null))), "method");
-
- 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");
- }
-
- 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");
- }
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => ("theme://css-compiled/theme" . ($context["compress"] ?? null))), "method");
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/custom.css"), "method");
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addCss", array(0 => "theme://css/line-awesome.min.css"), "method");
-
- echo " ";
- }
-
- public function block_javascripts($context, array $blocks = array())
- {
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "jquery", 1 => 101), "method");
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/jquery.treemenu.js", 1 => array("group" => "bottom")), "method");
-
- echo " ";
- $this->getAttribute(($context["assets"] ?? null), "addJs", array(0 => "theme://js/site.js", 1 => array("group" => "bottom")), "method");
-
- echo " ";
- }
-
- public function block_body_classes($context, array $blocks = array())
- {
- echo ($context["body_classes"] ?? null);
- }
-
- public function block_header($context, array $blocks = array())
- {
-
- echo " <section id=\"header\" class=\"section\">
- <section class=\"container ";
-
- echo ($context["grid_size"] ?? null);
- echo "\">
- <nav class=\"navbar\">
- <section class=\"navbar-section logo\">
- <a href=\"";
-
- echo ($context["home_url"] ?? null);
- echo "\" class=\"navbar-brand mr-10\">";
- $this->loadTemplate("@images/grav-logo.svg", "partials/base.html.twig", 44)->display($context);
- echo "</a>
- </section>
- <section class=\"navbar-section\">
- <nav class=\"dropmenu animated\">
- ";
-
- $this->displayBlock('header_navigation', $context, $blocks);
-
- echo " </nav>
- ";
-
- if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "login", array()), "enabled", array()) && $this->getAttribute($this->getAttribute(($context["grav"] ?? null), "user", array()), "username", array()))) {
-
- echo " <span class=\"login-status-wrapper\"><i class=\"fa fa-user\"></i> ";
- $this->loadTemplate("partials/login-status.html.twig", "partials/base.html.twig", 55)->display($context);
- echo "</span>
- ";
- }
-
- echo "
- </section>
- </nav>
- </section>
- </section>
- <div class=\"mobile-menu\">
- <div class=\"button_container\" id=\"toggle\">
- <span class=\"top\"></span>
- <span class=\"middle\"></span>
- <span class=\"bottom\"></span>
- </div>
- </div>
- ";
- }
-
- public function block_header_navigation($context, array $blocks = array())
- {
-
- echo " ";
- $this->loadTemplate("partials/navigation.html.twig", "partials/base.html.twig", 50)->display($context);
-
- echo " ";
- }
-
- public function block_hero($context, array $blocks = array())
- {
- }
-
- public function block_body($context, array $blocks = array())
- {
-
- echo " <section id=\"body-wrapper\" class=\"section\">
- <section class=\"container ";
-
- echo ($context["grid_size"] ?? null);
- echo "\">
- ";
-
- $this->displayBlock('messages', $context, $blocks);
-
- echo " ";
- $this->displayBlock('content', $context, $blocks);
-
- echo " </section>
- </section>
- ";
- }
-
- public function block_messages($context, array $blocks = array())
- {
-
- echo " ";
- try {
- $this->loadTemplate("partials/messages.html.twig", "partials/base.html.twig", 78)->display($context);
- } catch (Twig_Error_Loader $e) {
-
- }
-
- echo " ";
- }
-
- public function block_content($context, array $blocks = array())
- {
- }
-
- public function block_footer($context, array $blocks = array())
- {
-
- echo " <section id=\"footer\" class=\"section bg-gray\">
- <section class=\"container ";
-
- echo ($context["grid_size"] ?? null);
- echo "\">
- <p><a href=\"http://getgrav.org\">Grav</a> was <i class=\"fa fa-code\"></i> with <i class=\"fa fa-heart-o pulse \"></i> by <a href=\"https://trilby.media\">Trilby Media</a>.</p>
- </section>
- </section>
- ";
- }
-
- public function block_bottom($context, array $blocks = array())
- {
-
- 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,);
- }
-
- 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' %}
- <!DOCTYPE html>
- <html lang=\"{{ grav.language.getActive ?: grav.config.site.default_lang }}\">
- <head>
- {% block head %}
- <meta charset=\"utf-8\" />
- <title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
- <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
- <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
- {% include 'partials/metadata.html.twig' %}
- <link rel=\"icon\" type=\"image/png\" href=\"{{ url('theme://images/favicon.png') }}\" />
- <link rel=\"canonical\" href=\"{{ page.url(true, true) }}\" />
- {% 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 %}
- </head>
- <body id=\"top\" class=\"{% block body_classes %}{{ body_classes }}{% endblock %}\">
- <div id=\"page-wrapper\">
- {% block header %}
- <section id=\"header\" class=\"section\">
- <section class=\"container {{ grid_size }}\">
- <nav class=\"navbar\">
- <section class=\"navbar-section logo\">
- <a href=\"{{ home_url }}\" class=\"navbar-brand mr-10\">{% include('@images/grav-logo.svg') %}</a>
- </section>
- <section class=\"navbar-section\">
- <nav class=\"dropmenu animated\">
- {% block header_navigation %}
- {% include 'partials/navigation.html.twig' %}
- {% endblock %}
- </nav>
- {% if config.plugins.login.enabled and grav.user.username %}
- <span class=\"login-status-wrapper\"><i class=\"fa fa-user\"></i> {% include 'partials/login-status.html.twig' %}</span>
- {% endif %}
- </section>
- </nav>
- </section>
- </section>
- <div class=\"mobile-menu\">
- <div class=\"button_container\" id=\"toggle\">
- <span class=\"top\"></span>
- <span class=\"middle\"></span>
- <span class=\"bottom\"></span>
- </div>
- </div>
- {% endblock %}
- {% block hero %}{% endblock %}
- <section id=\"start\">
- {% block body %}
- <section id=\"body-wrapper\" class=\"section\">
- <section class=\"container {{ grid_size }}\">
- {% block messages %}
- {% include 'partials/messages.html.twig' ignore missing %}
- {% endblock %}
- {% block content %}{% endblock %}
- </section>
- </section>
- {% endblock %}
- </section>
- </div>
- {% block footer %}
- <section id=\"footer\" class=\"section bg-gray\">
- <section class=\"container {{ grid_size }}\">
- <p><a href=\"http://getgrav.org\">Grav</a> was <i class=\"fa fa-code\"></i> with <i class=\"fa fa-heart-o pulse \"></i> by <a href=\"https://trilby.media\">Trilby Media</a>.</p>
- </section>
- </section>
- {% endblock %}
-
- <div class=\"mobile-container\">
- <div class=\"overlay\" id=\"overlay\">
- <div class=\"mobile-logo\">
- {% include('@images/grav-logo.svg') %}
- </div>
- <nav class=\"overlay-menu\">
- {% include 'partials/navigation.html.twig' with {tree: true} %}
- </nav>
- </div>
- </div>
- {% block bottom %}
- {{ assets.js('bottom') }}
- {% endblock %}
- </body>
- ", "partials/base.html.twig", "/mnt/data/Sites/r2c.net/user/themes/r2c/templates/partials/base.html.twig");
- }
- }
|