<!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
<head>
    {% block head %}
    <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
    <meta charset="utf-8" />
     {% if FEED_ALL_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}"
type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
        {% endif %}
        {% if FEED_ALL_RSS %}
        <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/
rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
        {% endif %}
        {% if FEED_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml"
rel="alternate" title="{{ SITENAME }} Atom Feed" />
        {% endif %}
        {% if FEED_RSS %}
        <link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml"
rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}
        {% if CATEGORY_FEED_ATOM and category %}
        <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL.format(slug=category.slug) }}{% else %}{{
CATEGORY_FEED_ATOM.format(slug=category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom
Feed" />
        {% endif %}
        {% if CATEGORY_FEED_RSS and category %}
        <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL.format(slug=category.slug) }}{% else %}{{
CATEGORY_FEED_RSS.format(slug=category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS
Feed" />
        {% endif %}
        {% if TAG_FEED_ATOM and tag %}
        <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_ATOM.
format(slug=tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
        {% endif %}
        {% if TAG_FEED_RSS and tag %}
        <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.
format(slug=tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
        {% endif %}
        {% endblock head %}
    <!--<link rel="stylesheet" href="{{ SITEURL }}/theme/css/font-sourcesanspro.css" />-->
    <link rel="stylesheet" href="{{ SITEURL }}/theme/css/main.css" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
</head>
<body>
    <!-- Nav -->
    <nav id="nav" class="flex_container">
        <img class="flex_item" src="{{ SITEURL }}/theme/images/logo.webp" />
        <ul class="flex_item">
		<li><a href="{{SITEURL}}/index.html#header"><span>Accueil</span></a></li>
		{% for category_name in MENU_CATEGORIES %}

                <li class="submenu">
			<div><a><span>{{MENU_CATEGORIES[category_name]}}<span></a></div>
                	<ul>
				{% for page in pages|categoryis(category_name) %}
                	    <li><a href="{{SITEURL}}/{{page.url}}">{{page.title}}</a></li>
                	    	{% endfor %}
                	</ul>
            	</li>
		{% endfor %}

        </ul>
    </nav>

    <!-- Header -->
    {% block header %}
    {% endblock %}

    <!-- Main content -->
    <main>
        {% block content %}
        {% endblock %}
    </main>

    <!-- Page Footer -->
    <footer>
        <ul class="flex_container">
            <li>
                <span class="fa fa-share-alt point-icon"></span>
                Suivez-nous sur les réseaux&nbsp;:
                <a class="social-icon" href="https://www.facebook.com/GypsyLyonFestival/"><span class="fa fa-facebook"</span></a>
                <a class="social-icon" href="https://twitter.com/gypsylyonfestiv"><span class="fa fa-twitter"></span></a>
            </li>
            <li>
                <span class="fa fa-legal point-icon"></span>
		<a href="{{SITEURL}}/pages/legal.html">Mentions légales</a>
            </li>
            <li>
                <span class="fa fa-envelope point-icon"></span>
                <a href="mailto:contact@gypsylyonfestival.com">contact@gypsylyonfestival.com</a>
            </li>
            <li>
                <span class="fa fa-home point-icon"></span>
                <span>28 rue Denfert-Rochereau - 69004 Lyon</span>
            </li>
            <li>
                <span class="fa fa-cloud point-icon"></span>
                Conçu et hébergé par
                <a href="https://jean-cloud.net">Jean-Cloud</a>
            </li>
                <li>
                <span class="fa fa-python point-icon"></span>
                Conçu avec
                <a href="http://getpelican.com/">Pelican</a>
            </li>
		    <img src="{{SITEURL}}/images/partenaires/lved.jpg" />
        </ul>
    </footer>
</body>
</html>
