layout.html 816 B

123456789101112131415161718192021222324
  1. {# Import the theme's layout. #}
  2. {% extends "!layout.html" %}
  3. {# Custom CSS overrides #}
  4. {% set bootswatch_css_custom = ['_static/style.css', "../../css/converse.min.css"] %}
  5. {% set script_files = script_files + ["../../dist/converse.min.js", "../../analytics.js"] %}
  6. {# Add some extra stuff before and use existing with 'super()' call. #}
  7. {% block footer %}
  8. {{ super() }}
  9. <script>
  10. require(['converse'], function (converse) {
  11. converse.initialize({
  12. bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
  13. keepalive: true,
  14. play_sounds: true,
  15. message_carbons: true,
  16. roster_groups: true,
  17. });
  18. });
  19. </script>
  20. {% endblock %}