{{ post.title }}
{{ post.author.username }} · {{ post.category.name }} · {{ post.created_at|date:"Y-m-d" }}
{{ post.body|truncatechars:120 }}
{% extends "base.html" %} {% block content %}
共 {{ public_count }} 篇公开文章,统计可能延迟 30 秒。
{% for post in page_obj %}{{ post.author.username }} · {{ post.category.name }} · {{ post.created_at|date:"Y-m-d" }}
{{ post.body|truncatechars:120 }}
暂时没有公开文章。
{% endfor %} {% include "blog/pagination.html" %} {% endblock %}