Show number of photos in h3 on Album page
This commit is contained in:
		
							parent
							
								
									028a8cb2ef
								
							
						
					
					
						commit
						4fcb524211
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue