{% import "gameon/templates/templates.jinja2" as gameon %}
{% import "templates-game/macros.jinja2" as macros with context %}
<!doctype html>
<html>
<head>
    <meta charset="utf-8">

    {% block headers %}
    {% endblock %}

    {{ macros.headers() }}

    {{ gameon.cssheaders() }}
    {{ macros.cssheaders() }}

    {% block css %}
    {% endblock %}

    {{ gameon.jsheaders() }}

    {{ macros.jsvars() }}
    {{ macros.jsheaders() }}

    {% block js %}
    {% endblock %}
</head>
<body>
{{ gameon.templates() }}
<div id="modal" class="modal fade" tabindex="-1" role="dialog"
     aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    <i class="fa fa-times close-modal"></i>
                </button>
            </div>
            <div class="modal-body">

            </div>

        </div>
    </div>
</div>
<div class="mm-background">

    <div id="headerbody">
        {% include "/templates-game/shared/header.jinja2" %}
    </div>

    <div id="mainbody">
        {% block mainbody %}

        {% endblock %}
    </div>

    <div id="footerbody">
        {% include "/templates-game/shared/footer.jinja2" with context %}
    </div>
</div>
</body>
</html>
