{% extends "_layout/base.html" %} {% block title %} 首页 {% endblock %} {% block content %} {% for post in posts | batch(5) | first%}

{{ post.title }}

{{ post.front_html |safe }}
{% endfor %} {% include '_layout/paginate.html' %} {% endblock %}