{% macro body(board) -%} {% import 'base/link.html' as link %}
{{ link.board(board) }}
{{_('Topics:')}} 1 {{ _('Posts:')}} 2
{% set last_topic = board.topics.first() %} {% if last_topic %}
{{ link.topic(last_topic)}}
{{ _('published by %(author)s',author=link.user(last_topic.author.username)) }}
{{ last_topic.created_at | timesince }}
{% else %} {{_('No Topic')}} {% endif %}
{%- endmacro %}