<!-- extend base layout --> {% extends "base.html" %} {% block content %} {% for post in posts %} {% include 'post.html' %} {% endfor %} <hr> To see more posts and to start contributing, <a href="{{ url_for('index') }}"> log in </a> <hr> {% endblock %}