{% set theme_config = attribute(config.themes, config.system.pages.theme) %} {% set github_config = theme_var('github') %} {% set grid_size = theme_var('grid-size') %} {% set compress = theme_var('production-mode') ? '.min.css' : '.css' %} {% 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/fork-awesome.min.css') %} {% do assets.addCss('theme://css-compiled/spectre'~compress) %} {% do assets.addCss('theme://css-compiled/theme'~compress) %} {% do assets.addCss('theme://css/custom.css') %} {% endblock %} {% block javascripts %} {% do assets.addJs('jquery', 101) %} {% do assets.addJs('theme://js/simplebar.min.js', { group:'bottom' }) %} {% do assets.addJs('theme://js/learn4.js', { group:'bottom' }) %} {% do assets.addJs('theme://js/darkMode.js', { group:'bottom' }) %} {% endblock %} {% block assets deferred %} {{ assets.css()|raw }} {{ assets.js()|raw }} {% endblock %}
{% block topbar %} {% include 'partials/topbar.html.twig' %} {% endblock %}
{% block body %}
{% block messages %} {% include 'partials/messages.html.twig' ignore missing %} {% endblock %} {% block content %}{% endblock %}
{% endblock %}
{% block footer %} {% include 'partials/footer.html.twig' %} {% endblock %}
{% block bottom %} {{ assets.js('bottom')|raw }} {% endblock %}