{% extends "layout.html" %} {% block title %}{{ photo["caption"] or "Photo" }}{% endblock %} {% block content %} {% macro nav_links() %}
Photo {{ photo["position"] }} of {{ photo["siblings"] }} {% if photo["siblings"] > 1 %}     [ < Previous | Next > ] {% endif %}
{% endmacro %}

Photo

< Back to Album

{{ nav_links() }} {% if photo["caption"] %}

{{ photo["caption"] }}

{% endif %}

{% if photo["description"] %}

{{ photo["markdown"]|safe }}
{% endif %} Uploaded by {{ author["name"] }} on {{ photo["pretty_time"] }}. {% if session["login"] %}

Embed this image in a blog post:
(Markdown)
'> (HTML) {% endif %} {{ nav_links() }} {% if session["login"] %}

Administrative Options

{% endif %} {{ include_page("comment.partial_index", thread="photos-{}".format(photo["key"]), subject="Photo Comment", ) | safe }} {% endblock %}