{% extends "frontend/base.html" %} {% block content %} {{title}} All {% for playlist in playlists %} {{playlist.title}} {% endfor %} {% for video in object_list %} {{video.title}} {% endfor %} {% if not page_obj.number <= 2 %} First {% endif %} {% if page_obj.number != 1 %} {{page_obj.previous_page_number}} {% endif %} {{page_obj.number}} {% if page_obj.has_next %} {{page_obj.next_page_number}} Last {% endif %} {% endblock content %}