{{ post.category.name }} {{ post.title }} {{ post.created_at|date:"Y-m-d" }} {{ post.content }} {% if user.is_authenticated %} {% csrf_token %} {% if post.pk in saved_ids %} 取消收藏 {% else %} 收藏 {% endif %} {% endif %} 返回笔记列表