<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="{{ metaDesc }}">
        {% if seoIndexing === false %}
            <meta name="robots" content="noindex">
        {% endif %}

        <title>{{title}}</title>

        {% if stylesheet %}
            {% for style in stylesheet %}
                <link rel="stylesheet" href="{{ style }}">
            {% endfor %}
        {% endif %}

        {% if hCAPTCHA %}
            <script src="{{ hCAPTCHA }}" async defer></script>
        {% endif %}

        {% if fontAwesome %}
            <script src="{{ fontAwesome }}" crossorigin="anonymous"></script>
        {% endif %}

    </head>

    <body>

        {% include "header.njk" %}

        <main>

            {{ content | safe }}

        </main>

        {% include "footer.njk" %}

        {% include "modals.njk" %}

        {% if pageScripts %}
            {% for script in pageScripts %}
                <script src="{{ script }}"></script>
            {% endfor %}
        {% endif %}

    </body>
</html>