{# 首页(/):文章流在这里分页,不生成归档页。 #} {% extends "base.html" %} {% block content %} {% if pagination.current_page == 1 %}
{% if hero_image_url %} {# 报头式首屏:只有照片与右下角的小字说明。标题保留给屏幕阅读器。 #}
{{ site.hero_title }}

{{ site.hero_title }}

{% if site.hero_subtitle %}
{{ site.hero_subtitle }}
{% endif %}
{% else %}

{{ site.hero_title }}

{% if site.hero_subtitle %}

{{ site.hero_subtitle }}

{% endif %} {% endif %}
{% endif %}
{% if pagination.current_page == 1 %}

{{ ui('writing') }}({{ post_count }})

{% else %}

{{ ui('writing') }}

{% endif %}
{% include "postlist.html" %} {% if pagination.total_pages > 1 %} {% endif %}
{% if projects and pagination.current_page == 1 %}

{{ ui('projects') }}

{% endif %} {% endblock %}