{% import "Mambo/macros/html.html" as html with context %}
{% import "Mambo/macros/nav.html" as nav with context %}
{% import "Mambo/macros/forms.html" as forms with context %}
{% import "Mambo/macros/widget.html" as widget with context %}


<!DOCTYPE html>
<html>

    <head>
        {{ html.header("%title% | " + __.APPLICATION_NAME) }}
        {{ html.favicon("favicon.ico") }}
        {{ html.opengraph() }}
        {{ html.global_assets() }}
        {{ html.fontawesome() }}
        {{ html.google_analytics() }}
        {{ html.bootswatch_theme('yeti') }}
        {{ html.css_asset("all-css") }}
        {{ html.js_asset("all-js") }}

    </head>

    <body>

        {# HEADER #}
        <header>
            {{ nav.top_nav(brand=__.APPLICATION_NAME) }}
        </header>

        {# BODY #}
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    {{ widget.flashed_messages() }}
                </div>
            </div>

            {# The content of the site will be included here automatically #}
            {% include __template__ %}
        </div>

        {# FOOTER #}
        <footer>
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12">
                        <div class="text-center">
                            <hr>
                            &copy; {{ __.__YEAR__ }} {{ __.APPLICATION_NAME }} {{ __.APPLICATION_VERSION }}
                        </div>
                    </div>
                </div>
            </div>
        </footer>

    </body>
</html>



