Mercurial > public > sg101
diff gpp/templates/potd/view.html @ 53:f882ac8ce255
Fix xhtml error in POTD template.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 21 Jun 2009 22:41:58 +0000 |
parents | 7b6540b185d9 |
children | 2d299909e074 |
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">