{% from "_macros.html" import icon %} {# The list inside the composer's Knowledge dialog. Swapped in on its own so typing in the filter re-queries the server: the library is searched with FTS rather than filtered in the browser, which is what makes it work when there are five hundred documents rather than five. #}
{% if not documents %}

{% if q %} Nothing matches “{{ q }}”. {% else %} Your library is empty. Add something to it. {% endif %}

{% else %} {% endif %}