💬
{% block hero %}{% endblock %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}
{# ------------------------------------------------------------------------- Chatbot UI scripts and styles The following script powers the floating chatbot widget located at the bottom right of every page. When the user clicks the 💬 button, the widget toggles visibility. Pressing Enter in the input box sends the message to the `/chatbot` endpoint defined in ``app.py``. Both user and bot messages are appended to the conversation pane with simple styling defined below. Jinja's ``url_for`` helper is used to dynamically generate the correct path to the endpoint at render time. #}