{% extends 'layout.html' %} {% block title %}{{ site.title }}{% endblock %} {% block content %} {% for post in posts[:index_posts] %}

{{ post.title }}

Published on {{ post.date.strftime(date_format) }}
{{ post.content }}
{% endfor %} {% endblock %}