little-hesinde/rusty-library/templates/series.html

22 lines
534 B
HTML
Raw Normal View History

2024-05-06 14:25:15 +00:00
{% extends "base" %}
{% block title %}
{% if has_previous %}
<a class="secondary" href="/series/{{ backward_cursor }}/DESC">← back</a>
{% endif %}
{% if has_previous and has_more %}|{% endif%}
{% if has_more %}
<a class="secondary" href="/series/{{ forward_cursor }}/ASC">more →</a>
{% endif %}
{% endblock title %}
{% block content %}
<div class="grid-container">
{% for s in series %}
<a class="contrast" href="/series/{{ s.id }}">
<article>{{ s.name }}</article>
</a>
{% endfor %}
</div>
{% endblock content %}