{% extends "_layout/base.html" %} {% block title %} 首页 {% endblock %} {% block content %} {% for post in posts | batch(5) | first%} {{ post.pub_time.strftime('%b %d,%Y') }} {{ post.title }} {{ post.front_html |safe }} {% endfor %} {% include '_layout/paginate.html' %} {% endblock %}