1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- {% 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) %}
- {% endblock %}
- {{ assets.css()|raw }}
- {% block javascripts %}
- {% do assets.addJs('jquery', 101) %}
- {% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/isotope.pkgd.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
- {% endblock %}
- {{ assets.js()|raw }}
- {% endblock head %}
- </head>
- <body id="top">
- <div id="page-wrapper" class="{{page.template}}">
- {% block header %}
- <header>
- <section class="container {{ grid_size }}">
- <nav class="navbar">
- <a href="/"><h1>{{site.title|capitalize}}</h1>
- <h2>{{site.header.status|upper}}</h2></a>
- </nav>
- <div class="contact">
- <img src="user/themes/gilles_acezat/images/contact.svg" alt="">
- <h3>Contact</h3>
- </div>
- {% include 'partials/navigation.html.twig' %}
- </section>
- <section class="works works-mea">
- {% for child in collection %}
- {% set mea = child.header.mea == 'true' %}
- {% if mea %}
- {% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
- {% endif %}
- {% endfor %}
- </section>
- <div class="scroll">
- <p>scroll</p>
- <p>scroll</p>
- </div>
- </header>
- {% endblock %}
- <section id="start">
- {% block body %}
- <section id="body-wrapper">
- <section>
- {% block content %}{% endblock %}
- </section>
- </section>
- {% endblock %}
- </section>
- </div>
- {% block bottom %}
- {{ assets.js('bottom')|raw }}
- {% endblock %}
- </body>
- </html>
|