1 2 3 4 5 6 7 8
{% extends 'base.twig' %} {% block main %} {% for post in posts %} <h1>{{ post.title }}</h1> <p>{{ post.content }}</p> {% endfor %} {% endblock %}