{% macro body(boards) -%} {% import 'base/link.html' as link_base %} {% for board in boards %}
{{ link_base.board(board)}}
{{_('Topics:')}} {{ board.count.topics }} {{ _('Posts:')}} {{board.count.all_topics }}
{% set last_topic = board.topics.first() %} {% if last_topic %}
{{ link_base.topic(last_topic)}}
{{ _('published by %(author)s',author=link_base.user(last_topic.author.username)) }}
{{ last_topic.publish | timesince }}
{% else %} {{_('No Topic')}} {% endif %}
{% endfor %} {%- endmacro %}