{% extends 'layout/base_sidebar_tags.html' %} {% from '_includes.html' import render_pagination with context %} {% block search_endpoint %}{% endblock %} {% block main_content %} {% if posts.items %} {% for post in posts.items %} {% endfor %} {% else %} Ooops. No content matching your filters. {% endif %} {{ render_pagination('post.posts', posts) }} {% endblock %}