1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {% extends "darkroom/base.html" %}
- {% block title %}{{object.title}} | Gallery | Penobscot Bay Press{% endblock %}
- {% block meta_keywords %}{% for tag in object.tags.all %}{{tag}}, {%endfor %}{% endblock %}
- {% block meta_title %}{{object.title}} | {% for e in object.edition_set.all %}{%if forloop.first %}{% if e.paper == "Compass" %}| {{e.paper}}{%endif%}{%endif%}{%endfor%} The Weekly Packet{% endblock %}
- {% block meta_description %}{{object.description}}{% endblock %}
- {% block rel-img %}{{object.get_display_url}}{% endblock %}
- {% block description %}{{object.description}}{% endblock %}
- {% block content %}
- <td align="center" valign="top" bgcolor="white" width="565" colspan="2">
- <table width="444" border="0" cellspacing="8" cellpadding="0">
- <td colspan="2" valign="top" bgcolor="white" width="565">
- <div style="padding-left:12px; padding-right:12px; padding-top:12px; background:white; ">
- <img src="http://www.penobscotbaypress.com/images/headers/newsfeature542.gif" alt="News Feature" height="32" width="542" border="0"><br>
- <h2 align=center ><a class="return" style="align:center;" href="{% url dr-index %}">Return to Archives & Multimedia</a></h2>
- <h2>Photo galleries</h2>
- </div>
- {% for gallery in latest %}
- <div class="gallery" style="padding-left:12px">
- <h4><a href="{{gallery.get_absolute_url}}" alt="{{gallery}}" >{{gallery}}</a><br>
- {% if gallery.photographer %}Photos by {{gallery.photographer}}{% endif %}</h4>
- {% load markup typogrify humanize %}
- <p>
- {% for p in gallery.photos.all %}
- {% if forloop.last %}
- <img style="padding-right:10px; float:left" src="{{p.get_thumbnail_url}}" alt="{{p}}" />
- {% endif %}
- {% endfor %}
- {{gallery.description|typogrify|markdown}}
- </p>
- {% if gallery.story_set.all %}
- <p>
- {% for s in gallery.story_set.all %}
- <a href="{{s.get_absolute_url}}" alt="{{s}}">Related story</a><br />
- {% endfor %}
- </p>
- {% endif %}
- </div>
- <br />
- {% endfor %}
- <p><a class="return" href="{% url nr-index %}">Return to the Penobscot Bay Press home page.</a></p>
- </td>
- </table>
- </td>
- {% endblock %}
|