{% import "macro.html.twig" as web_macro %}

<div class="topic-list">
  {% for thread in threads %}
    {% set author = users[thread.userId] %}
    {% include 'thread/part/list-item.html.twig' %}
  {% else %}
    <div class="empty">{{'暂无话题'|trans}}</div>
  {% endfor %}
</div>

<nav class="text-center">
  {{ web_macro.paginator(paginator) }}
</nav>