Back

Template Source: media/videos_list.html

{% extends 'base.html' %} {% block title %}Videos{% endblock %} {% block header %} {% include 'includes/top_nav.html' with on="media" %} {% endblock %} {% block content %} <div class="content"> <div class="page"> {% include 'media/includes/menu.html' with on='videos' %} <div class="blocks vids"> {% for object in object_list %} <div class="block"> <div class="image"> {{ object.embed|safe }} <span class="arrow"></span> </div> <div class="text"> <div class="inner"> <h2>{{ object.publish_at|date:"j F Y" }}</h2> <h3>{{ object.title }}</h3> </div> </div> </div><!--/block--> {% empty %} <p class="empty">There are currently no videos.</p> {% endfor %} </div><!--/blocks--> </div><!--/page--> </div><!--/content--> {% endblock %}