123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {% 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/theme'~compress) %}
- {% do assets.addCss('theme://css/jquery.mCustomScrollbar.min.css') %}
- <!-- and (max-device-width: 812px) -->
- {% endblock %}
- {{ assets.css() }}
- {% block javascripts %}
- {% do assets.addJs('jquery', 101) %}
- {% do assets.add('theme://js/midnight.jquery.min.js') %}
- {% do assets.add('theme://js/jquery.scrollify.js') %}
- {% do assets.add('theme://js/jquery.mCustomScrollbar.js') %}
- {% do assets.add('theme://js/script.js') %}
- {% 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">
- <nav class="dropmenu animated">
- {% block header_navigation %}
- {% include 'partials/navigation.html.twig' %}
- {% endblock %}
- </nav>
- </section>
- </nav>
- </section>
- </section>
- {% endblock %}
- <section id="start">
- {% block body %}
- <section id="body-wrapper" class="section">
- <section class="container {{ grid_size }}">
- {% block content %}{% endblock %}
- </section>
- </section>
- {% endblock %}
- </section>
- </div>
- {% block bottom %}
- {{ assets.js('bottom') }}
- {% endblock %}
- </body>
|