2023-01-24 13:00:18 +00:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load book_display_tags %}
|
|
|
|
|
|
|
|
{% block title %}{{ series_name }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-10-21 15:53:24 +00:00
|
|
|
<div class="block" itemscope itemtype="https://schema.org/BookSeries">
|
|
|
|
<h1 class="title" itemprop="name">{{ series_name }}</h1>
|
2023-01-24 13:00:18 +00:00
|
|
|
<div class="subtitle" dir="auto">
|
|
|
|
{% trans "Series by" %} <a
|
|
|
|
href="{{ author.local_path }}"
|
|
|
|
class="author {{ link_class }}"
|
2023-10-21 15:53:24 +00:00
|
|
|
itemprop="creator"
|
2023-01-24 13:00:18 +00:00
|
|
|
itemscope
|
2023-10-21 15:53:24 +00:00
|
|
|
itemtype="https://schema.org/Person"
|
2023-01-24 13:00:18 +00:00
|
|
|
><span
|
|
|
|
itemprop="name"
|
|
|
|
>{{ author.name }}</span></a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="columns is-multiline is-mobile">
|
|
|
|
{% for book in books %}
|
|
|
|
{% with book=book %}
|
2023-10-21 15:53:24 +00:00
|
|
|
{# @todo Set `hasPart` property in some meaningful way #}
|
2023-01-24 13:00:18 +00:00
|
|
|
<div class="column is-one-fifth-tablet is-half-mobile is-flex is-flex-direction-column">
|
|
|
|
<div class="is-flex-grow-1 mb-3">
|
2023-01-30 08:26:59 +00:00
|
|
|
<span class="subtitle">{% if book.series_number %}{% blocktrans with series_number=book.series_number %}Book {{ series_number }}{% endblocktrans %}{% else %}{% trans 'Unsorted Book' %}{% endif %}</span>
|
2023-01-24 13:00:18 +00:00
|
|
|
{% include 'landing/small-book.html' with book=book %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endwith %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|