{# 首页(/):文章流在这里分页,不生成归档页。 #} {% extends "base.html" %} {% block content %} {% if pagination.current_page == 1 %} {{ site.title }} {% if site.hero_subtitle %} {{ site.hero_subtitle }} {% endif %} {% endif %} {% if pagination.current_page == 1 %} {{ ui('writing') }} {% else %} {{ ui('writing') }} {% endif %} {% include "postlist.html" %} {% if pagination.total_pages > 1 %} {% if pagination.previous_url %} ← {{ ui('newer') }} {% endif %} {{ pagination.current_page }} / {{ pagination.total_pages }} {% if pagination.next_url %} {{ ui('older') }} → {% endif %} {% endif %} {% if projects and pagination.current_page == 1 %} {{ ui('projects') }} {% for project in projects %} {{ project.name }} {% if project.description %} {{ project.description }} {% endif %} {% endfor %} {% endif %} {% endblock %}
{{ site.hero_subtitle }}
{{ project.description }}