blob: 37365765e46445a88621f531a3aed2474537180d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% extends "photologue/root.html" %}
{% block title %}Latest Photos{% endblock %}
{% block page-header %}Latest Photos{% endblock %}
{% block content %}
{% if latest %}
{% for photo in latest %}
<div class="gallery-photo">
<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>
</div>
{% endfor %}
{% else %}
<p>No photos were found.</p>
{% endif %}
<p><a href="{% url pl-photo-list 1 %}">View all photographs</a></p>
{% endblock %}
|