{# 首页使用的文章流:标题级别跟随分区标题。 #} {% set title_tag = 'h3' if pagination.current_page == 1 else 'h2' %} {% if posts %}
    {% for post in posts %}
  1. <{{ title_tag }} class="post-list-title">{{ post.title }} {% if post.summary %}

    {{ post.summary }}

    {% endif %}
  2. {% endfor %}
{% else %}

{{ ui('empty_posts') }}

{% endif %}