{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
{% set github_link_position = github_link_position is defined ? github_link_position : theme_config.github.position %}
{% block head %}
{% if header.title %}{{ header.title }} | {% endif %}{{ site.title }}
{% include 'partials/metadata.html.twig' %}
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/nucleus.css',102) %}
{% do assets.addCss('theme://css-compiled/theme.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/featherlight.min.css') %}
{% if browser.getBrowser == 'msie' and browser.getVersion >= 8 and browser.getVersion <= 9 %}
{% do assets.addCss('theme://css/nucleus-ie9.css') %}
{% do assets.addCss('theme://css/pure-0.5.0/grids-min.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/featherlight.min.js') %}
{% do assets.addJs('theme://js/clipboard.min.js') %}
{# {% do assets.addJs('theme://js/jquery.scrollbar.min.js') %} #}
{% do assets.addJs('theme://js/jquery.scrollbar.js') %}
{% do assets.addJs('theme://js/learn.js') %}
{% endblock %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
{% endblock head %}
{% block sidebar %}
{% endblock %}
{% block body %}
{% block topbar %}{% if github_link_position == 'top' or config.plugins.breadcrumbs.enabled %}
{% if github_link_position == 'top' %}
{% include 'partials/github_link.html.twig' %}
{% endif %}
{% if config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}