Source

lindyjam / templates / playlists / index.html

Full commit
{% extends "base.html" %}

{% block title %}Playlists{% endblock %}

{% block style %}
<link rel="stylesheet" type="text/css" 
      href="/site-media/styles/playlistsstyle.css"/>
{% endblock %}

{% block scripts %}
    <script type="text/javascript"
            src="/site-media/scripts/playlists.js"></script>
{% endblock %}

{% block content %}
<h1>Playlists</h1>
    <p>Here's where you can check out what the Rochester DJs have been playing.</p>
    <ul id="playlists_list">
    {% for playlist, ends in playlists %}
        <li>
            <a href="{{ playlist.get_absolute_url }}">
                {{ playlist.name }}'{% if not ends %}s{% endif %} 
                set on {{ playlist.date|date:"F j, Y" }}
            </a>
        </li>
    {% endfor %}
    </ul>
{% endblock %}