{% extends 'layout.html' %} {% block title %} Pictures {% endblock %} {% block content %} Pictures {% for post in posts %} {{ post.title }} {{ post.date }} by {{ post.author }} {{ post.body }} {% endfor %} {% endblock %}
{{ post.date }} by {{ post.author }}
{{ post.body }}