{% extends 'base.html' %} {% import 'shared/pub.html' as pub %} {% block title %} {{page.title}} {% endblock %} {% block body %} <head> <title>Published Articles</title> </head> <h2>Published Articles</h2> <table> {% for article in articles_page.object_list %} {{ pub.publisting(article) }} {% endfor %} </table> {% endblock %}