{% 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/owl.carousel.min.css') %}
        {% do assets.addCss('theme://css/owl.theme.default.min.css') %}
    {% endblock %}

    {{ assets.css()|raw }}

    {% block javascripts %}
        {% do assets.addJs('jquery', 101) %}
        {% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
        {% do assets.addJs('theme://js/owl.carousel.min.js', {group:'bottom'}) %}
        {% do assets.addJs('theme://js/scritps.js', {group:'bottom'}) %}
        {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
    {% endblock %}
    {{ assets.js()|raw }}

{% endblock head %}
</head>

<body id="top">
    {% block header %}
    <header>

      <nav class="navbar">
        {% block header_navigation %}
          {% include 'partials/navigation.html.twig' %}
        {% endblock %}
      </nav>

      <div class="title">
        <h1><a href="{{ home_url }}">{{site.title}}</a></h1>
        <div class="filet"></div>
      </div>

      <section class="logo">

        <div id="user">
          <div id="name">
            <p>{{ theme_config.profile.name | default(site.author.name) }}</p>
          </div>
          <div id="pro">
            <p>{{ site.author.profession }}</p>
          </div>
        </div>

        {% include 'partials/logo.html.twig' %}

        {% for module in page.find('/home').children.order('date', 'desc') %}
          <section class="why_lsdo">
              <h3>{{module.title}}</h3>
            {{module.content}}
           <svg>
              <path id='' d="M 0,0 100,0 0,20 0,20 Z" style="fill:#964587" />
            </svg>
          </section>
        {% endfor %}
      </header>
    {% endblock %}


    {% block hero %}{% endblock %}

        <section id="start">
        {% block body %}
            <section id="body-wrapper" class="section">
                <section class="container {{ grid_size }}">
                    {% block messages %}
                        {% include 'partials/messages.html.twig' ignore missing %}
                    {% endblock %}
                    {% block content %}{% endblock %}
                </section>
            </section>
        {% endblock %}
        </section>


    {% block footer %}
    {% endblock %}

{% block bottom %}
    {{ assets.js('bottom')|raw }}
{% endblock %}

</body>
</html>
