{# Import the theme's layout. #}
{% extends "!layout.html" %}

{# Custom CSS overrides #}
{% set bootswatch_css_custom = ['_static/style.css', "../../css/converse.min.css"] %}
{% set script_files = script_files + ["../../builds/converse.min.js", "../../analytics.js"] %}

{# Add some extra stuff before and use existing with 'super()' call. #}
{% block footer %}
    {{ super() }}
    <script>
        require(['converse'], function (converse) {
            converse.initialize({
                bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
                keepalive: true,
                play_sounds: true,
                message_carbons: true,
                roster_groups: true,
            });
        });
    </script>
{% endblock %}


