{% extends 'blog/base.html' %} {% block title %}{{ title }}{% endblock %} {% block extra_head %}{% endblock %} {% block content %}

{{ title }}

{% if posts %}

{{ posts|length }} 条公开记录

{% for post in posts %}
{{ post.category.name }}

{{ post.title }}

{{ post.summary|default:"暂无摘要"|truncatechars:40 }}

{% endfor %}
{% else %}

当前没有公开笔记。

{% endif %} {% endblock %}