xmpp.chapril.org-conversejs/docs/source/_templates/layout.html
2017-02-16 20:52:20 +01:00

25 lines
816 B
HTML

{# 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 + ["../../dist/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 %}