{% load static %}
<!DOCTYPE html>
<html>
    <head>
        {% include './base_template/_meta.html' %}
        {% include './base_template/_favicons.html' %}
        {% block custom_css %}
            <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
            {% block extra_css %}
            {% endblock extra_css %}
        {% endblock custom_css %}
    </head>
    <body>
        {% include './base_template/_nav.html' %}
        {% include './base_template/_messages.html' %}
        {% block body %}
            {% block content %}
            {% endblock content %}
            {% block base_js %}
                <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
                <script src="https://unpkg.com/htmx.org@1.6.1"></script>
                <script src="https://unpkg.com/hyperscript.org@0.9.0"></script>
                <script>document.body.addEventListener("htmx:configRequest", (e) => {e.detail.headers["X-CSRFToken"] = "{{ csrf_token }}";});</script>
                {% block extra_js %}
                {% endblock extra_js %}
            {% endblock base_js %}
        {% endblock body %}
    </body>
</html>
