1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- {% 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/hamburgers.css') %}
- {% do assets.addCss('theme://css/jquery.mCustomScrollbar.min.css') %}
- {% do assets.addCss('theme://css-compiled/theme'~compress) %}
- {% endblock %}
- {{ assets.css()|raw }}
- {% block javascripts %}
- {% do assets.addJs('theme://js/jquery-3.4.1.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/jquery.lazy.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/scrollreveal.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/jquery.mCustomScrollbar.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
- {% endblock %}
- {{ assets.js()|raw }}
- {% endblock head %}
- </head>
- <body id="top" class="{{ header.title|hyphenize }}">
- {% block header %}{% endblock %}
- <section id="start">
- {% block aside %}
- {% include 'partials/sidebar.html.twig' %}
- {% endblock %}
- {% block body %}
- <div class="body-center" id="text_figli">
- {% block content %}{% endblock %}
- </div>
- {% endblock %}
- </section>
- {% block footer %}
- {% set options = { items: {'@page.self': '/contact'} } %}
- <footer>
- {% for item in page.collection(options) %}
- {{item.content}}
- {% endfor %}
- </footer>
- {% endblock %}
- {% block bottom %}
- {{ assets.js('bottom')|raw }}
- {% endblock %}
- </body>
- </html>
|