gremmie@1: {% extends 'side_block.html' %}
bgneal@310: {% load url from future %}
gremmie@1: {% block block_title %}Photo of the Day{% endblock %}
gremmie@1: {% block block_content %}
gremmie@1: {% if potd %}
gremmie@1: <center>
bgneal@310: <a href="{% url 'potd-view' %}"><img src="{{ potd.thumb.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" /></a><br />
bgneal@310: <a href="{% url 'potd-view' %}">{{ potd.caption }}</a>
gremmie@1: </center>
gremmie@1: {% else %}
gremmie@1: <p>No photo at this time.</p>
gremmie@1: {% endif %}
gremmie@1: {% endblock %}