{% import "server/icons.html" as icons %}{% import "server/avatar.html" as people %}{% macro draw(entries) -%} {# each group's entries together under its heading, where the group opens; a group of panels alone drops its heading while none of them draws anything #} {% for kind, item, head in entries %} {% if loop.first or item.group != loop.previtem[1].group %}
{% endif %} {% endfor %} {%- endmacro %}