def get_context_data(self, **kwargs):
        context = super(Sitemap, self).get_context_data(**kwargs)
        context.update(
            {'entries': Entry.published.all(),
             'categories': Category.published.all(),
             'authors': Author.published.all()}
        )
        return context
Populate the context of the template
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/views/sitemap.py/Sitemap.get_context_data