{% comment %} Display a single Publication, probably used in a list. Expects: * publication: The Publication to display. * show_readings: 'none' (default), 'all' or 'current' (the in-progress reading, if any). * show_thumbnail: Boolean, default is False. {% endcomment %} {% if show_thumbnail|default_if_none:False and publication.cover %}
{% include 'spectator_core/includes/thumbnail_list.html' with url=publication.get_absolute_url field=publication.thumbnail alt_text="Cover" %}
{% endif %} {% if publication.series %} {{ publication.series.title }}, {{ publication.title }} {% else %} {{ publication.title }} {% endif %} {% include 'spectator_core/includes/roles.html' with roles=publication.roles.all intro='
by' %} {% if show_readings == 'all' or show_readings == 'current' %} {% endif %} {% if show_thumbnail|default_if_none:False and publication.cover %}
{% endif %}