Show number of photos in h3 on Album page

master
voussoir 2018-04-06 21:50:13 -07:00
parent 028a8cb2ef
commit 4fcb524211
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ p
{% set photos = album.get_photos() %} {% set photos = album.get_photos() %}
{% if photos %} {% if photos %}
<h3>Photos</h3> <h3>{{photos|length}} Photos</h3>
{% if view != "list" %} {% if view != "list" %}
<a href="?view=list">List view</a> <a href="?view=list">List view</a>
{% else %} {% else %}