view sg101/templates/potd/potd_block.html @ 694:d84aaf239182

For #53, use HTML5 DOCTYPE. Some markup cleanup also.
author Brian Neal <bgneal@gmail.com>
date Fri, 06 Sep 2013 21:50:53 -0500
parents 25a408bb71a3
children
line wrap: on
line source
{% extends 'side_block.html' %}
{% block block_title %}Photo of the Day{% endblock %}
{% block block_content %}
{% if potd %}
<div class="centered">
<a href="{% url 'potd-view' %}"><img src="{{ potd.thumb.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" /></a><br />
<a href="{% url 'potd-view' %}">{{ potd.caption }}</a>
</div>
{% else %}
<p>No photo at this time.</p>
{% endif %}
{% endblock %}