Mercurial > public > sg101
view gpp/templates/podcast/index.html @ 403:6e425c9b9d16
In support of #161; improve query performance of the feed view; also cache the feed view in urls.py.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 27 Mar 2011 18:22:48 +0000 |
parents | dbd703f7d63a |
children |
line wrap: on
line source
{% extends 'podcast/base.html' %} {% block title %}Podcast{% endblock %} {% block podcast-content %} {% if channel and channel.item_set %} <h3>Podcast Index</h3> <ul> {% for item in channel.item_set.all %} <li><a href="{{ item.get_absolute_url }}">{{ item.title }}</a> • {{ item.subtitle }} • {{ item.pubdate|date:"F d, Y" }}</li> {% endfor %} </ul> {% else %} <p>No podcasts available at this time.</a> {% endif %} {% endblock %}