xmpp.chapril.org-conversejs/docs/source/_templates/layout.html
2016-01-15 06:03:10 +00:00

25 lines
818 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 + ["../../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 %}