{% 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') %}
      {% do assets.addCss('theme://css/jquery.mCustomScrollbar.css') %}
    {% endblock %}

    {{ assets.css()|raw }}

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

{% endblock head %}
</head>

<body id="top">
  <div class="background">
    <div class="fond-g">
      <svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
        <path
           sodipodi:nodetypes="cccc"
           inkscape:connector-curvature="0"
           id="path3336"
           d="M 0,0 500,0 0,500 Z"
           style="fill:#fff59b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
      </svg>
    </div>
    <div class="fond-d">
      <svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
        <path
           sodipodi:nodetypes="cccc"
           inkscape:connector-curvature="0"
           id="path3336"
           d="M 0,0 500,500 500,0 Z"
           style="fill:#f39655;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
      </svg>
    </div>
  </div>

  {% 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>

      <div class="logo">
        <div id="user">
          <div id="name">
            <p>{{ theme_config.profile.name | default(site.author.name) }}</p>
          </div>
          <div id="pro">
            <p>{{ site.metadata.Description }}</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 %}

      </div>
    </header>
  {% endblock %}

    {% block hero %}{% endblock %}

  <section id="start">
    {% block body %}
      {% block content %}{% endblock %}
    {% endblock %}
  </section>

    {% block footer %}
      <footer>
        <ul>
          {% for module in page.find('/pied-de-page').children.order('date', 'desc') %}
            <li>
              <a href="#{{ macro.pageLinkName(module.menu)|hyphenize }}">{{module.title}}</a>
            </li>
          {% endfor %}
        </ul>

          {% for module in page.find('/pied-de-page').children.order('date', 'desc') %}
            <section id="{{ macro.pageLinkName(module.menu)|hyphenize }}">
              <h3>{{module.title}}</h3>
              {{module.content}}
            </section>
          {% endfor %}
    </footer>
  {% endblock %}

  <div class="background-footer">
    <div class="fond-g">
      <svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
        <path
        sodipodi:nodetypes="cccc"
        inkscape:connector-curvature="0"
        id="path3336"
        d="M 500,500 0,0 0,500 Z"
        style="fill:#fff59b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
      </svg>
    </div>
    <div class="fond-d">
      <svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
        <path
        sodipodi:nodetypes="cccc"
        inkscape:connector-curvature="0"
        id="path3336"
        d="M 500,500 0,500 500,0 Z"
        style="fill:#f39655;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
      </svg>
    </div>
  </div>

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

</body>
</html>
