20 lines
469 B
HTML
20 lines
469 B
HTML
|
{% extends "base" %}
|
||
|
{% block title %}
|
||
|
{% if has_previous %}
|
||
|
<a href="/authors/{{ backward_cursor }}/DESC">← back</a>
|
||
|
{% endif %}
|
||
|
{% if has_previous and has_more %}|{% endif%}
|
||
|
|
||
|
{% if has_more %}
|
||
|
<a href="/authors/{{ forward_cursor }}/ASC">more →</a>
|
||
|
{% endif %}
|
||
|
{% endblock title %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="grid-container">
|
||
|
{% for author in authors %}
|
||
|
<article>{{ author.name }}</article>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endblock content %}
|