Mercurial > public > madeira
view photologue/templates/photologue/photo_detail.html @ 81:fc9616b1c7ae
Get rid of the last Myspace link on the home page. Replace with YouTube link.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 26 Oct 2012 18:30:38 -0500 |
parents | e2868ad47a1e |
children | c962f58c2693 |
line wrap: on
line source
{% extends "photologue/root.html" %} {% block title %}{{ object.title }}{% endblock %} {% block content %} <h1>{{ object.title }}</h1> <div class="gallery-photo"> <a href="{{ object.image.url }}"><img src="{{ object.get_display_url }}" alt="{{ object.title }}"/></a> {% if object.caption %}<p>{{ object.caption }}</p>{% endif %} </div> {% if object.public_galleries %} <h2>This photo is found in the following galleries:</h2> <ol> {% for gallery in object.public_galleries %} <li><a href="{{ gallery.get_absolute_url }}">{{ gallery.title }}</a></li> {% endfor %} </ol> {% endif %} {% endblock %}