{% set theme_config = attribute(config.themes, config.system.pages.theme) %} {% 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/pure-0.5.0/grids-min.css', 103) %} {% do assets.addCss('theme://css-compiled/nucleus.css', 102) %} {% do assets.addCss('theme://css-compiled/template.css', 101) %} {% do assets.addCss('theme://css/custom.css', 100) %} {% do assets.addCss('theme://css/font-awesome.min.css', 100) %} {% do assets.addCss('theme://css/slidebars.min.css') %} {% if browser.getBrowser == 'msie' and browser.getVersion == 10 %} {% do assets.addCss('theme://css/nucleus-ie10.css') %} {% endif %} {% if browser.getBrowser == 'msie' and browser.getVersion >= 8 and browser.getVersion <= 9 %} {% do assets.addCss('theme://css/nucleus-ie9.css') %} {% do assets.addJs('theme://js/html5shiv-printshiv.min.js') %} {% endif %} {% endblock %} {% block javascripts %} {% do assets.addJs('jquery', 101) %} {% do assets.addJs('theme://js/modernizr.custom.71422.js', 100) %} {% do assets.addJs('theme://js/antimatter.js') %} {% do assets.addJs('theme://js/parallax.js') %} {% do assets.addJs('theme://js/slidebars.min.js') %} {% endblock %} {% block assets deferred %} {{ assets.css()|raw }} {{ assets.js()|raw }} {% endblock %} {% endblock head %}
{% block header %} {% endblock %} {% block showcase %}{% endblock %} {% block body %}
{% block content %}{% endblock %}
{% endblock %}
{% block sidebar_navigation %}
{% import _self as macros %} {% macro loop(page) %} {% import _self as macros %} {% for p in page.children.visible %} {% set current_page = (p.active or p.activeChild) ? 'active' : '' %} {% if p.children.visible.count > 0 %}
  • {% if p.header.icon %}{% endif %} {{ p.menu }}
      {{ macros.loop(p) }}
  • {% else %}
  • {% if p.header.icon %}{% endif %} {{ p.menu }}
  • {% endif %} {% endfor %} {% endmacro %}
    {% endblock %} {% block bottom %} {{ assets.js('bottom')|raw }} {% endblock %}