{% extends "base.html" %} {% load static %} {% block title %}郭安的小站{% endblock %} {% block content %} {% for post in posts %}

{{ post.title }}

{{ post.published_at|date:"Y年m月d日" }}
{% if post.excerpt %}
{{ post.excerpt }}
{% endif %}
{% empty %}

还没有文章

去管理后台写一篇

{% endfor %} {% if posts.paginator.num_pages > 1 %} {% endif %} {% endblock %}