<!DOCTYPE html>
<html lang="fr" dir="ltr">
    <head>
        {% block head %}
        <meta charset="utf-8">
        <title>{% block title %}{{ SITENAME }}{% endblock %}</title>

        <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
        {% 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 }} RSS Feed" />
        {% endif %}
        {% endblock head %}
    </head>
    <body>
        <nav>
            <a href="{{ SITEURL }}/" class="h">CreativeCalc</a>
            <div>
                {% for pg in pages|sort(attribute="date", reverse=True) %}
                <a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.shorttitle }}</a>
                {% endfor %}
            </div>
        </nav>

        {% block content %}
        {% endblock %}
    </body>
</html>
