summaryrefslogtreecommitdiff
path: root/templates/photos.html
blob: 218a26d677b4789b8e0a865a3e865df73954d719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base.html" %} {% block body %}
{% for page in paginator.pages %}
<figure class="center">
  <a {% if page.content %} href="{{ page.permalink }}" {% endif %}>
    <img
      alt="{{page.title}}"
      src="{{ page.permalink }}/{{ page.extra.file_name }}"
    />
  </a>
  <figcaption>{{page.title}}</figcaption>
</figure>
{% endfor %} {% if paginator.previous or paginator.next%}
<div class="row">
  <a class="center" href="{{ paginator.previous }}">Previous</a>
  <span class="center">{{ paginator.current_index }}</span>
  <a class="center" href="{{ paginator.next }}">Next</a>
</div>
{% endif %} {% endblock body %}