1 2 3 4 5 6 7 8 9
{% extends 'base.html' %} {% block body %} <ul> {% for post in posts %} <li><a href="{{ post.url }}">{{ post.title }}</a></li> {% endfor %} </ul> {% endblock %}