{% extends "base.html" %} {% block title %}{{object.title}}{% endblock %} {% block rel-img %}{{object.get_display_url}}{% endblock %} {% block description %}{{object.description}}{% endblock %} {% block content %}
![]()
{% if galleries %}
Photo galleries{% for gallery in galleries %}
{{gallery.published_on|date:"M j, Y"}}
{{gallery}}{% if gallery.photographer %}Photos by {{gallery.photographer}}{% endif %}{% load markup typogrify humanize %}
{% for p in gallery.photos.all %}
{% if forloop.last %}
{% for s in gallery.story_set.all %}
Related story {% endfor %} {% endif %}
{% if movies %}
{% load convert_tags %}
Movies{% for movie in movies %}
{{movie.published_on|date:"M j, Y"}}
{% endfor %}
{{movie}}{% if movie.photographer %}Video by {{movie.photographer}}{% endif %} {% load markup typogrify humanize %}{% thumbnail movie.preview.url "200" %} {{movie.description|typogrify|markdown|truncatewords:40}} {% if movie.story_set.all %}
{% for s in movie.story_set.all %}
Related story {% endif %} {% if photos %} Recent photos{% for photo in photos %}
{{photo.published_on|date:"M j, Y"}}
{{photo}}{% if photo.photographer %}Photos by {{photo.photographer}}{% endif %}{% load markup typogrify humanize %}
{% for s in photo.story_set.all %}
Related story {% endfor %} {% endif %} |