changeset 53:f882ac8ce255

Fix xhtml error in POTD template.
author Brian Neal <bgneal@gmail.com>
date Sun, 21 Jun 2009 22:41:58 +0000
parents 127ba8b24b52
children e249b5f9d180
files gpp/templates/potd/view.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/potd/view.html	Sun Jun 21 22:13:57 2009 +0000
+++ b/gpp/templates/potd/view.html	Sun Jun 21 22:41:58 2009 +0000
@@ -17,8 +17,8 @@
 {% else %}
 <h2>Photo Of The Day Archives</h2>
 {% endif %}
+{% if potd %}
 <div class="potd-details">
-{% if potd %}
 <img src="{{ potd.photo.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" />
 <p class="caption">{{ potd.caption }}</p>
 <p class="details">