{% extends 'videos/base.html' %} {% load static %} {% block content %} {% for video in video_list %} {% if video.thumbnail %} {% else %} {% endif %} {{ video.title }} {% endfor %} {% endblock %}