diff --git a/rophako/modules/photo/templates/photos/album.html b/rophako/modules/photo/templates/photos/album.html index d06e429..0fadae4 100644 --- a/rophako/modules/photo/templates/photos/album.html +++ b/rophako/modules/photo/templates/photos/album.html @@ -4,7 +4,7 @@

Album: {{ album }}

-{% if markdown %} +{% if album_info["description"] %}
{{ markdown|safe }}

{% endif %} diff --git a/rophako/modules/photo/templates/photos/view.html b/rophako/modules/photo/templates/photos/view.html index 105c376..bcdbe14 100644 --- a/rophako/modules/photo/templates/photos/view.html +++ b/rophako/modules/photo/templates/photos/view.html @@ -28,12 +28,18 @@

-{% if photo["markdown"] %} +{% 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"] %} @@ -54,4 +60,4 @@ subject="Photo Comment", ) | safe }} -{% endblock %} \ No newline at end of file +{% endblock %}