21 lines
756 B
HTML
21 lines
756 B
HTML
{% extends 'base.html' %}
|
|
{% block body %}
|
|
{% from 'utils.html' import root with context %}
|
|
<h1 id="list-title"><a href={{ root() }}>DLibrary</a> {% block list_title %}{% endblock %}</h1>
|
|
<div class="card-listing">
|
|
{% for work in works %}
|
|
<div class="card">
|
|
<a href="{{ root() }}works/{{ work['id'] }}/">
|
|
<img src="{{ root() }}thumbnails/{{ work['id'] }}.jpg">
|
|
<div class="card-authors">
|
|
[{% if work['circle'] %}{{ work['circle'] }}{% endif %}{% if work['circle'] and work['authors'] %} ({% endif %}{{ ', '.join(work['authors']) }}{% if work['circle'] and work['authors'] %}){% endif %}]
|
|
</div>
|
|
<div class="card-title">
|
|
{{ work['title'] }}
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|