{% import "post_macros.html" as post_macros %}

<!doctype html>
<html lang="{{ config.default_language }}">
    <head>
        {% include "partials/head.html" %}

	  {% block title -%}
        <title> {{ config.title }} </title>
        {%- endblock title %}
	
        {% if config.generate_rss %}
        <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
        {% endif %}
		
    </head>

    <body>
      <div class="title">
	  <h1 style="text-align:center;"> {{ config.title }} </h1>
        </div>

        {% include "partials/menu.html" %}
        <div class="articles">
            {% block content %}
            {{ post_macros::polish(content=section.content) }}

            {% endblock content %}
        </div>

        <footer><span class="copyleft">©</span> kitoy.me <br/> Site généré avec <a href="https://getzola.org/"> Zola </a> <br/>
	  <a href="/rss.xml" class="icons"><img src="/img/rss.svg" alt="rss" class="icon"></a>
	  <a href="/git/" class="icons"> <img src="/img/code.svg" alt="rss" class="icon"></a>  

	</footer>

        {% block js -%}
        <script src="/js/menu.js"></script>
        {%- endblock js %}
    </body>

</html>
